= LeetCode Collection =

題號 題目名稱 (English) 核心概念
125 Valid Palindrome 雙指針 (Two Pointers)
344 Reverse String 雙指針、原地交換
242 Valid Anagram 哈希表、字元計數
20 Valid Parentheses 棧 (Stack) - 字串處理經典
14 Longest Common Prefix 橫向/縱向掃描
58 Length of Last Word 字串分割、末尾遍歷
387 First Unique Character in a String 哈希表、第一次出現的位置
28 Find the Index of the First Occurrence in a String 字串匹配 (String Matching)
412 Fizz Buzz 基礎邏輯模擬
13 Roman to Integer 字典對照、由右至左處理

順序 編號 題目名稱 難度 核心觀念 1 136 Single Number Easy 位元運算 (XOR) 2 191 Number of 1 Bits Easy 位元運算 (位移) 3 26 Remove Duplicates from Sorted Array Easy 雙指標 (In-place) 4 27 Remove Element Easy 陣列操作 5 21 Merge Two Sorted Lists Easy 鏈表 (Pointer/Struct) 6 83 Remove Duplicates from Sorted List Easy 鏈表操作 (Free memory) 7 167 Two Sum II - Input Array Is Sorted Medium 雙指標 (夾擊) 8 11 Container With Most Water Medium 雙指標 (貪婪) 9 70 Climbing Stairs Easy 動態規劃基礎 10 118 Pascal’s Triangle Easy 二維動態陣列 (malloc)

== misc ==

== Strings ==