LeetCode
文章平均质量分 65
EddyCoding
个人的LeetCode面试题目记事本,欢迎指正交流
展开
-
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 阅读 · 0 评论 -
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 阅读 · 0 评论 -
LeetCode: Binary Tree Sum相关题目合集
Path Sum, Path Sum II, Binary Tree Maximum Path Sum原创 2015-03-19 02:35:29 · 437 阅读 · 0 评论 -
LeetCode: Binary Tree Depth相关题目合集
Maximum Depth of Binary Tree, Minimum Depth of Binary Tree, Balanced Binary Tree原创 2015-03-18 09:12:47 · 524 阅读 · 0 评论 -
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 阅读 · 0 评论 -
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 阅读 · 0 评论 -
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 阅读 · 0 评论 -
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 · 737 阅读 · 1 评论