Leetcode 快速複習的題目
個人刷leetcode地方,不一定每題都為最佳最速解
多為 'Top Interview 150' & 'blink 75' 的選題,其中同一題目會出現在不同類型,所以會重複
多為 'Top Interview **150'** & 'blink 75' ****的選題,其中同一題目會出現在不同類型,所以會重複
下方勾勾完全沒作用,單純複習時方便,但重新整理或離開就刷新
演算法
Binary Search
入門
- Leetcode-34-Find-First-and-Last-Position-of-Element-in-Sorted-Array
- Leetcode-35-Search-Insert-Position
- Leetcode-74-Search-a-2D-Matrix
進階
Depth-First Search Breadth-First Search
入門
- Leetcode-100-Same-Tree
- Leetcode-101-Symmetric-Tree
- Leetcode-226-Invert-Binary-Tree
- Leetcode-530-Minimum-Absolute-Difference-in-BST
進階
- Leetcode-79-Word-Search
- Leetcode-114-Flatten-Binary-Tree-to-Linked-List
- Leetcode-116-Populating-Next-Right-Pointers-in-Each-Node
- Leetcode-117-Populating-Next-Right-Pointers-in-Each-Node-II
- Leetcode-124-Binary-Tree-Maximum-Path-Sum
- Leetcode-133-Clone-Graph
- Leetcode-450-Delete-Node-in-a-BST
- Leetcode-684-Redundant-Connection
- Leetcode-909-Snakes-and-Ladders
Backtracking
入門
進階
Divide and Conquer
入門
進階
- Leetcode-23-Merge-k-Sorted-Lists
- Leetcode-53-Maximum-Subarray
- Leetcode-105-Construct-Binary-Tree-from-Preorder-and-Inorder-Traversal
- Leetcode-148-Sort-Listk
- Leetcode-427-Construct-Quad-Tree
Dynamic Programming
入門
- Leetcode-45-Jump-Game-II
- Leetcode-70-Climbing-Stairs
- Leetcode-198-House-Robber
- Leetcode-392-Is-Subsequence
進階
- Leetcode-53-Maximum-Subarray
- Leetcode-55-Jump-Game
- Leetcode-62-Unique-Paths
- Leetcode-87-Scramble-String
- Leetcode-120-Triangle
- Leetcode-139-Word-Break
- Leetcode-221-Maximal-Square
- Leetcode-300-Longest-Increasing-Subsequence
- Leetcode-322-Coin-Change
Greedy
入門
- Leetcode-45-Jump-Game-II
- Leetcode-53-Maximum-Subarray
- Leetcode-121-Best-Time-to-Buy-and-Sell-Stock
- Leetcode-435-Non-overlapping-Intervals
進階
- Leetcode-55-Jump-Game
- Leetcode-122-Best-Time-to-Buy-and-Sell-Stock-II
- LLeetcode-134-Gas-Station
- Leetcode-135-Candy
Union Find
入門
進階
Two Pointer
two point 重點(同向)
0~i : 已經處理過要保留的
i~j : 已經處理過 不需要保留
j~ : 未見過得
two point 重點(反向)
0~i : 已經處理過要保留的
i~j : 未處理
j~ : 已經處理過要保留的
入門
- Leetcode-26-Remove-Duplicates-from-Sorted-Array
- Leetcode-27-Remove-Element
- Leetcode-88-Merge-Sorted-Array
- Leetcode-392-Is-Subsequence
- Leetcode-202-Happy-Number
進階
Sliding Window
入門
進階
資料結構
Linked List
入門
進階
hash map
入門
- Leetcode-76-Minimum-Window-Substring
- Leetcode-149-Max-Points-on-a-Line
- Leetcode-169-Majority-Element
- Leetcode-205-Isomorphic-Strings
- Leetcode-383-Ransom-Note
進階
Stack
入門
進階
Queue
入門
進階
Graph
入門
進階
- Leetcode-133-Clone-Graph
- Leetcode-684-Redundant-Connection
- Leetcode-1319-Number-of-Operations-to-Make-Network-Connected
Heap
入門
進階
Array / String
入門
進階
Bit Manipulation
入門
進階
Tree
入門
進階
- Leetcode-114-Flatten-Binary-Tree-to-Linked-List
- Leetcode-116-Populating-Next-Right-Pointers-in-Each-Node
- Leetcode-117-Populating-Next-Right-Pointers-in-Each-Node-II
- Leetcode-450-Delete-Node-in-a-BST
Trie
入門
進階
Math
入門
進階
本部落格所有文章除特別聲明外,均採用 CC BY-NC-SA 4.0 許可協議。轉載請註明來自 Imisky!
評論