- 博客(8)
- 收藏
- 关注
原创 LeetCode: Buy and Sell Stock相关问题合集
Stock Maximize Your algorithms have become so good at predicting the market that you now know what the share price of Wooden Orange Toothpicks Inc. (WOT) will be for the next N days. Each day,
2015-03-30 06:46:28 533
原创 LeetCode: 关于Sum的题目合集
Two Sum, Two Sum II – Input array is sorted, Two Sum III – Data structure design, 3Sum, 3Sum Closest, 4Sum, k Sum, k Sum II.
2015-03-20 12:14:24 532
原创 LeetCode: Binary Tree Sum相关题目合集
Path Sum, Path Sum II, Binary Tree Maximum Path Sum
2015-03-19 02:35:29 437
原创 LeetCode:Binary Search Tree相关题目合集
Validate Binary Search Tree, Recover Binary Search Tree, Successor of Binary Search Tree, Binary Search Tree Iterator, Largest Binary Search Tree (BST) in a Binary Tree
2015-03-18 12:26:10 741 1
原创 LeetCode: Binary Tree Depth相关题目合集
Maximum Depth of Binary Tree, Minimum Depth of Binary Tree, Balanced Binary Tree
2015-03-18 09:12:47 524
原创 LeetCode: Word Break
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence of one or more dictionary words.For example, given s = “leetcode”, dict = [“leet”, “co
2015-03-17 12:38:22 467
原创 Longest Common Substring
Given two strings, find the longest common substring. Return the length of it.Note The characters in substring should occur continiously in original string. This is different with subsequnce. Exampl
2015-03-17 11:57:35 654
原创 LeetCode:Edit Distance
Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You have the following 3 operations permitted on a word: a
2015-03-17 11:27:18 330
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人