TongTong Shi's Blog
A Playground to Share My Knowledge
Best Time to Buy and Sell Stock Best Time to Buy and Sell Stock
LeetCode Q 121 - Best Time to Buy and Sell StockSay you have an array for which the ith element is the price of a given
2019-04-23 Tong Shi
Triangle Triangle
LeetCode Q 120 - TriangleGiven a triangle, find the minimum path sum from top to bottom. Each step you may move to adjac
2019-04-23 Tong Shi
Unique Binary Search Trees II Unique Binary Search Trees II
LeetCode Q 95 - Unique Binary Search Trees IIGiven an integer n, generate all structurally unique BST’s (binary search t
2019-04-23 Tong Shi
Unique Binary Search Trees Unique Binary Search Trees
LeetCode Q 96 - Unique Binary Search TreesGiven n, how many structurally unique BST’s (binary search trees) that store v
2019-04-23 Tong Shi
Decode Ways II Decode Ways II
LeetCode Q 639 - Decode Ways IIA message containing letters from A-Z is being encoded to numbers using the following map
2019-04-23 Tong Shi
Decode Ways Decode Ways
LeetCode Q 91 - Decode WaysA message containing letters from A-Z is being encoded to numbers using the following mapping
2019-04-23 Tong Shi
59 / 79