TongTong Shi's Blog
A Playground to Share My Knowledge
Height Checker Height Checker
LeetCode Q 1051 - Height CheckerStudents are asked to stand in non-decreasing order of heights for an annual photo. Retu
2019-06-05 Tong Shi
Uncrossed Lines Uncrossed Lines
LeetCode Q 1035 - Uncrossed LinesWe write the integers of A and B (in the order they are given) on two separate horizont
2019-06-05 Tong Shi
Grumpy Bookstore Owner Grumpy Bookstore Owner
LeetCode Q 1052 - Grumpy Bookstore OwnerToday, the bookstore owner has a store open for customers.length minutes. Every
2019-06-05 Tong Shi
Advantage Shuffle Advantage Shuffle
LeetCode Q 870 - Advantage ShuffleGiven two arrays A and B of equal size, the advantage of A with respect to B is the nu
2019-06-05 Tong Shi
Score After Flipping Matrix Score After Flipping Matrix
LeetCode Q 861 - Score After Flipping MatrixWe have a two dimensional matrix A where each value is 0 or 1.A move consist
2019-06-02 Tong Shi
Lemonade Change Lemonade Change
LeetCode Q 860 - Lemonade ChangeAt a lemonade stand, each lemonade costs $5.Customers are standing in a queue to buy fro
2019-06-02 Tong Shi
29 / 79