TongTong Shi's Blog
A Playground to Share My Knowledge
Rotate Function Rotate Function
LeetCode Q 396 - Rotate FunctionGiven an array of integers A and let n to be its length.Assume Bk to be an array obtaine
2019-07-05 Tong Shi
Parsing A Boolean Expression Parsing A Boolean Expression
LeetCode Q 1106 - Parsing A Boolean ExpressionReturn the result of evaluating a given boolean expression, represented as
2019-07-03 Tong Shi
Partition Array for Maximum Sum Partition Array for Maximum Sum
LeetCode Q 1043 - Partition Array for Maximum SumGiven an integer array A, you partition the array into (contiguous) sub
2019-07-03 Tong Shi
Filling Bookcase Shelves Filling Bookcase Shelves
LeetCode Q 1105 - Filling Bookcase ShelvesWe have a sequence of books: the i-th book has thickness books[i][0] and heigh
2019-07-03 Tong Shi
Path In Zigzag Labelled Binary Tree Path In Zigzag Labelled Binary Tree
LeetCode Q 1104 - Path In Zigzag Labelled Binary TreeIn an infinite binary tree where every node has two children, the n
2019-07-03 Tong Shi
Unique Paths III Unique Paths III
LeetCode Q 980 - Unique Paths IIIOn a 2-dimensional grid, there are 4 types of squares: 1 represents the starting squar
2019-07-02 Tong Shi
16 / 79