数组 (array)
- LeetCode 1. Two Sum
- LeetCode 26. Remove Duplicates from Sorted Array
- LeetCode 27. Remove Element
- LeetCode 35. Search Insert Position
- LeetCode 53. Maximum Subarray
- LeetCode 66. Plus One
- LeetCode 88. Merge Sorted Array
- LeetCode 118. Pascal's Triangle
- LeetCode 119. Pascal's Triangle II
- LeetCode 121. Best Time to Buy and Sell Stock
- LeetCode 122. Best Time to Buy and Sell Stock II
- LeetCode 215. Kth Largest Element in an Array
- LeetCode 1431. Kids With the Greatest Number of Candies
- LeetCode 1480. Running Sum of 1d Array
- LeetCode 1486. XOR Operation in an Array
链表
字符串
- LeetCode 3. Longest Substring Without Repeating Characters
- LeetCode 5. Longest Palindromic Substring
- LeetCode 13. Roman to Integer
- LeetCode 14. Longest Common Prefix
- LeetCode 20. Valid Parentheses
- LeetCode 28. Implement strStr()
- LeetCode 38. Count and Say
- LeetCode 58. Length of Last Word
- LeetCode 67. Add Binary
- LeetCode 125. Valid Palindrome
动态规划
- LeetCode 198. House Robber
- LeetCode 303. Range Sum Query - Immutable
- LeetCode 746. Min Cost Climbing Stairs
贪心算法
二分查找 (Binary Search)
- LeetCode 35. Search Insert Position
- LeetCode 69. Sqrt(x)
- LeetCode 167. Two Sum II - Input array is sorted
- LeetCode 349. Intersection of Two Arrays
- LeetCode 350. Intersection of Two Arrays II
深度优先搜索 (Depth First Search)
- LeetCode 100. Same Tree
- LeetCode 101. Symmetric Tree
- LeetCode 104. Maximum Depth of Binary Tree
- LeetCode 108. Convert Sorted Array to Binary Search Tree
- LeetCode 110. Balanced Binary Tree
- LeetCode 112. Path Sum
- LeetCode 230. Kth Smallest Element in a BST
- LeetCode 236. Lowest Common Ancestor of a Binary Tree