TongTong Shi's Blog
A Playground to Share My Knowledge
Bag of Tokens Bag of Tokens
LeetCode Q 948 - Bag of TokensYou have an initial power P, an initial score of 0 points, and a bag of tokens. Each token
2019-05-29 Tong Shi
Delete Columns to Make Sorted Delete Columns to Make Sorted
LeetCode Q 944 - Delete Columns to Make SortedWe are given an array A of N lowercase letter strings, all of the same len
2019-05-29 Tong Shi
Delete Columns to Make Sorted II Delete Columns to Make Sorted II
LeetCode Q 955 - Delete Columns to Make Sorted IIWe are given an array A of N lowercase letter strings, all of the same
2019-05-29 Tong Shi
String Without AAA or BBB String Without AAA or BBB
LeetCode Q 984 - String Without AAA or BBBGiven two integers A and B, return any string S such that: S has length A + B
2019-05-29 Tong Shi
Broken Calculator Broken Calculator
LeetCode Q 991 - Broken CalculatorOn a broken calculator that has a number showing on its display, we can perform two o
2019-05-27 Tong Shi
Minimum Domino Rotations For Equal Row Minimum Domino Rotations For Equal Row
LeetCode Q 1007 - Minimum Domino Rotations For Equal RowIn a row of dominoes, A[i] and B[i] represent the top and botto
2019-05-27 Tong Shi
31 / 79