LeetCode 整理與彙整
Introduction
模板
思路整理
Should review
Binary Search
*35_Search Insert Position
*34_Search for a Range
*74_ Search a 2D Matrix
*240_Search a 2D Matrix II
*278_ First Bad Version
*162_Find Peak Element
33_Search in Rotated Sorted Array
287_ Find the Duplicate Number
*222_ Count Complete Tree Nodes
270_Closest Binary Search Tree Value
69_Sqrt(x)
* 4_ Median of Two Sorted Arrays
Array
* 349_ Intersection of Two Arrays
*53_Maximum Subarray
Maximum Subarray II
88_Merge Sorted Array
*Recover Rotated Sorted Array
238._Product of Array Except Self
Two pointers
Partition Array by Odd and Even
interleaving-positive-and-negative-numbers
*209_Minimum Size Subarray Sum
*11_ Container With Most Water
238_Product of Array Except Self
61_Rotate List
Quick sort
283_Move Zeroes
42_Trapping Rain Water
3_ Longest Substring Without Repeating Characters
Tree
Inorder
4.1
96_ Unique Binary Search Trees
95_ Unique Binary Search Trees II
4.2
114_Flatten Binary Tree to Linked List
100_ Same Tree
116_ Populating Next Right Pointers in Each Node
4.3 count
104_Maximum Depth of Binary Tree
111_Minimum Depth of Binary Tree
110_Balanced Binary Tree
113_ Path Sum II
Iterator
173_ Binary Search Tree Iterator
orderTraversal
94_Binary Tree Inorder Traversal
230_Kth Smallest Element in a BST
105_Construct Binary Tree from Preorder and Inorder Traversal
257_Binary Tree Paths
236_ Lowest Common Ancestor of a Binary Tree
BFS
199_ Binary Tree Right Side View
116_ Populating Next Right Pointers in Each Node
127_ Word Ladder
LinkedList
Merge
148_Sort List
21_ Merge Two Sorted Lists
23_Merge k Sorted Lists
83_ Remove Duplicates from Sorted List
203_Remove Linked List Elements
237_Delete Node in a Linked List
Two pointer
141_Linked List Cycle
19_Remove Nth Node From End of List
61_Rotate List
86_ Partition List
Reverse
206_ Reverse Linked List
234_Palindrome Linked List
24_ Swap Nodes in Pairs
143_Reorder List
138_Copy List with Random Pointer
109_ Convert Sorted List to Binary Search Tree
86_Partition List
DFS
112_Path Sum
129_Sum Root to Leaf Numbers
Sum
15_3Sum
259_3Sum Smaller
k_sum
BackTracking
17_ Letter Combinations of a Phone Number
22_ Generate Parentheses
79_Word Search
39_ Combination Sum
6.1 Subset and Permutation
Bit manipulation
477_Total Hamming Distance
HashMap
Anagrams
Deque
20_ Valid Parentheses
Design
155 Min Stack
Should review
Powered by
GitBook
113_ Path Sum II
results matching "
"
No results matching "
"