Journey to the West, weekly leetcode with golang. Making progress step by step.
- 2024/05/26: Longest Palindromic Substring (problem link) (solution)
- 2024/06/03: Regular Expression Matching (problem link) (solution)
- 2024/06/10: Integer to Roman (problem link) (solution)
- 2024/06/17: Roman to Integer (problem link) (solution)
- 2024/06/22: Longest Common Prefix (problem link) (solution)
- 2024/06/30: 3 sum (problem link) (solution)
- 2024/07/12: 3 sum closet (problem link) (solution)
- 2024/07/13: Letter Combinations of a Phone Number (problem link) (solution)
- 2024/07/21: 4Sum (problem link) (solution)
- 2024/07/28: Remove Nth Node From End of List (problem link) (solution)
- 2024/08/03: Valid Parentheses (problem link) (solution)
- 2024/08/10: Merge Two Sorted Lists (problem link)(solution)
- 2024/08/17: Climbing Stairs (problem link)(solution)
- 2024/08/17: Generate Parentheses (problem link)(solution)
- 2024/08/31: Merge k Sorted Lists (problem link)(solution) DivideAndConquer, PriorityQueue
- 2024/09/13: Swap Nodes in Pairs (problem link)(solution)
- 2024/09/15: Reverse Nodes in k-Group (problem link)(solution)
- 2024/09/21: Remove Duplicates from Sorted Array (problem link)(solution)
- 2024/10/05: Remove Element (problem link)(remove_element)
- 2024/10/13: Find the Index of the First Occurrence in a String (problem link)(solution)
- 2024/10/14: Divide Two Integers (problem link)(solution)
- 2024/10/15: Substring with Concatenation of All Words (problem link)(solution)
- 2024/10/18: Next Permutation (problem link)(solution)
- 2024/10/20: Longest Valid Parentheses (problem link)(solution)
- 2024/10/26: Search in Rotated Sorted Array (problem link)(solution)
- 2024/11/02: Find First and Last Position of Element in Sorted Array (problem link)(solution)
- 2024/11/05: Search Insert Position (problem link)(solution)
- 2024/11/06: Valid Sudoku (problem link)(solution)
- 2024/11/09: Sudoku Solver (problem link)(solution) -> enhancement here
- 2024/12/14: Count and Say (problem link)(solution)
- 2024/12/21: Combination Sum (problem link)(solution)
- 2024/12/28: Combination Sum II (problem link)(solution)
- 2025/01/04: First Missing Positive (problem link)(solution)
- 2025/01/11: Trapping Rain Water (problem link)(solution)
- 2025/01/25: Multiply Strings [MEDIUM] (problem link)(solution)
- 2025/01/25: Wildcard Matching [HARD] (problem link)(solution)
- 2025/08/23: Zigzag Conversion [Medium] (problem link)(solution)
- 2025/08/26: Insert Interval [Medium] (problem link)(solution)
- 2025/08/30: Length of Last Word [Easy] (problem link)(solution)
- 2025/08/30: Spiral Matrix II [Medium] (problem link)(solution)
- 2025/08/30: Permutation Sequence [Hard] (problem link)(solution)
- 2025/09/06: Rotate List [Medium] (problem link)(solution)
- 2025/09/06: Reverse Integer [Medium] (problem link)(solution)
- 2025/09/06: Unique Paths [Medium] (problem link)(solution)
- 2025/09/13: Unique Paths II [Medium] (problem link)(solution)
- 2025/09/13: Minimum Path Sum [Medium] (problem link)(solution)
- 2025/09/13: Valid Number [Hard] 👈(problem link)(solution)
Golang Leetcode Journey stop right here, immigrate to Rust language. here
- 2024/07/19: Algorithm of the shortest route between two subway stations (Taipei MRT) (solution)
- 2024/07/24: About
[1, 2, 3]
Permutations (solution) - 2024/10/11: Generate Map Node: PreOrder, PostOrder, LevelOrder (solution)
- 2024/11/16: Hanota ⏳ (solution)
- 2025/01/15: next greater element (solution)
- 2025/09/08: Design Pattern: Composite and Iterator (bonus/composite_and_iterator)
- Learning about Time Complexity, Space complexity (link)
- 模式覆蓋:這些題目覆蓋了 20+ 種核心算法模式,掌握後可以解決 80% 的面試題
- 難度遞進:從基礎到進階,建立系統性知識
- 高頻出現:這些都是 FAANG 等大廠的真實面試題
- 每道題都要理解時間/空間複雜度的權衡
- 寫出多種解法,理解優化過程
- 總結通用模板(如滑動窗口、二分查找模板)
質量比數量更重要
目錄:(README.md)