-
題目 位置 目的 解決日期 1. Two Sum otherHashMap 快速查找,O(n) 解法 2025-10-17 136. Single Number otherXOR 性質,找唯一數字 2025-10-17 217. Contains Duplicate otherset 判重,O(n) 解法 2025-10-17 26. Remove Duplicates from Sorted Array other雙指標寫法 2025-10-17 121. Best Time to Buy and Sell Stock other維護最小價格、最大利潤 2025-10-17 -
題目 位置 目的 解決日期 20. Valid Parentheses otherStack 維護括號配對 - 125. Valid Palindrome other雙指標、清洗字元 - 344. Reverse String other雙指標 in-place 交換 - 21. Merge Two Sorted Lists otherLinked List 合併、dummy node - 206. Reverse Linked List other迴圈/遞迴雙寫法 2025-10-21 -
題目 位置 目的 解決日期 70. Climbing Stairs other最基本 DP 遞推關係式 2025-10-21 198. House Robber otherDP 狀態轉移、相鄰排除 - 53. Maximum Subarray otherKadane’s Algorithm 經典 - 283. Move Zeroes other雙指標、就地操作 - 268. Missing Number otherXOR/數學公式雙法對比 2025-10-21 -
題目 位置 目的 解決日期 15. 3Sum other排序+雙指標經典中階題 2025-10-21 238. Product of Array Except Self otherprefix/suffix 思維,O(n)、O(1) 空間版本 - 141. Linked List Cycle otherFloyd Cycle Detection (快慢指標) -
| 題目 | 位置 | 難易度 | 解決日期 |
|---|---|---|---|
| 842. Split Array into Fibonacci Sequence | other |
medium |
- |
| 873. Length of Longest Fibonacci Subsequence | other |
medium |
- |