grind 75
參考 Grind 75 questions 建立
Week 1
- 1. Two Sum (陣列)
- 20. Valid Parentheses (堆疊)
- 21. Merge Two Sorted Lists (鏈結串列)
- 121. Best Time to Buy and Sell Stock (陣列)
- 125. Valid Palindrome (字串)
- 226. Invert Binary Tree (二元樹)
- 242. Valid Anagram (字串)
- 704. Binary Search (二分搜尋)
733. Flood Fill(圖)235. Lowest Common Ancestor of a Binary Search Tree(二元搜尋樹)- 110. Balanced Binary Tree (二元樹)
- 141. Linked List Cycle (鏈結串列)
- 232. Implement Queue using Stacks (堆疊)
Week 2
- 278. First Bad Version (二分搜尋)
- 383. Ransom Note (Hash Table)
- 70. Climbing Stairs (動態規劃)
409. Longest Palindrome(字串)- 206. Reverse Linked List (鏈結串列)
- 169. Majority Element (陣列)
- 67. Add Binary (二進位)
- 543. Diameter of Binary Tree (二元樹)
- 876. Middle of the Linked List (鏈結串列)
- 104. Maximum Depth of Binary Tree (二元樹)
- 217. Contains Duplicate (陣列)
- 53. Maximum Subarray (動態規劃)
Week 3
57. Insert Interval542. 01 Matrix973. K Closest Points to Origin3. Longest Substring Without Repeating Characters15. 3Sum102. Binary Tree Level Order Traversal133. Clone Graph150. Evaluate Reverse Polish Notation
Week 4
207. Course Schedule208. Implement Trie (Prefix Tree)322. Coin Change238. Product of Array Except Self155. Min Stack98. Validate Binary Search Tree200. Number of Islands994. Rotting Oranges
Week 5
33. Search in Rotated Sorted Array39. Combination Sum46. Permutations56. Merge Intervals236. Lowest Common Ancestor of a Binary Tree981. Time Based Key-Value Store721. Accounts Merge75. Sort Colors
Week 6
139. Word Break416. Partition Equal Subset Sum8. String to Integer (atoi)54. Spiral Matrix78. Subsets199. Binary Tree Right Side View5. Longest Palindromic Substring62. Unique Paths105. Construct Binary Tree from Preorder and Inorder Traversal
Week 7
11. Container With Most Water17. Letter Combinations of a Phone Number79. Word Search438. Find All Anagrams in a String310. Minimum Height Trees621. Task Scheduler146. LRU Cache
Week 8
230. Kth Smallest Element in a BST76. Minimum Window Substring297. Serialize and Deserialize Binary Tree42. Trapping Rain Water295. Find Median from Data Stream127. Word Ladder224. Basic Calculator1235. Maximum Profit in Job Scheduling23. Merge k Sorted Lists84. Largest Rectangle in Histogram