-
Binary Search
Classical Binary Search 简单
Search In Sorted Matrix I 中等
Closest In Sorted Array 中等
First Occurrence 中等
Last Occurrence 中等
K Closest In Sorted Array 中等
Search In Unknown Sized Sorted Array 中等
-
Recursion I and Sorting Algorithms
Fibonacci Number 简单
a to the power of b 中等
Selection Sort 简单
Merge Sort 中等
Quick Sort 中等
Move 0s To The End I 简单
Rainbow Sort 中等
-
Linked List
Reverse Linked List 简单
Middle Node Of Linked List 简单
Check If Linked List Has A Cycle 简单
Insert In Sorted Linked List 简单
Merge Two Sorted Linked Lists 简单
ReOrder Linked List 困难
Partition Linked List 中等
-
Queue & Stack
Sort With 3 Stacks 中等
Queue By Two Stacks 中等
Stack With min() 中等
-
Binary Tree & Binary Search Tree I
Pre-order Traversal Of Binary Tree 简单
In-order Traversal Of Binary Tree 中等
Post-order Traversal Of Binary Tree 困难
Check If Binary Tree Is Balanced 中等
Symmetric Binary Tree 简单
Tweaked Identical Binary Trees 中等
Is Binary Search Tree Or Not 中等
Get Keys In Binary Search Tree In Given Range 简单
-
Heap and Graph Search I : BFS
K Smallest In Unsorted Array 中等
Get Keys In Binary Tree Layer By Layer 简单
Bipartite 困难
Check If Binary Tree Is Completed 中等
Kth Smallest Number In Sorted Matrix 中等
-
Graph Search II : DFS
All Subsets I 中等
All Valid Permutations Of Parentheses I 中等
Combinations Of Coins 中等
All Permutations I 中等
-
HashTable and String I
Top K Frequent Words 中等
Missing Number I 中等
Common Numbers Of Two Sorted Arrays 简单
Remove Certain Characters 简单
Remove Spaces 简单
Remove Adjacent Repeated Characters I 简单
Remove Adjacent Repeated Characters IV 困难
Determine If One String Is Another's Substring 中等
-
String II
Reverse String 简单
Reverse Words In A Sentence I 中等
Right Shift By N Characters 简单
String Replace 困难
ReOrder Array 困难
All Permutations II 困难
Decompress String II 困难
Longest Substring Without Repeating Characters 中等
All Anagrams 中等
-
Bit Representation & Operation
Power Of Two 简单
Number Of Different Bits 中等
All Unique Characters II 中等
Hexadecimal Representation 简单
-
DFS II
All Subsets II 困难
All Valid Permutations Of Parentheses II 困难
N Queens 中等
Generate Random Maze 困难
-
Dynamic Programming I
Longest Ascending SubArray 简单
Max Product Of Cutting Rope 中等
Array Hopper I 中等
-
Dynamic Programming II
Array Hopper II 中等
Largest SubArray Sum 中等
Dictionary Word I 中等
Edit Distance 中等
Largest Square Of 1s 困难
-
Dynamic Programming III
Longest Consecutive 1s 简单
Longest Cross Of 1s 困难
Largest X Of 1s 困难
Largest SubMatrix Sum 困难
-
Probability, Sampling & Randomization
Perfect Shuffle 中等
Reservoir Sampling 中等
Generalized Reservoir Sampling 中等
Random7 Using Random5 中等
Random1000 Using Random5 中等
Median Tracker 中等
95 Percentile 中等
-
Recursion II
Binary Tree Path Sum To Target III 中等
Maximum Path Sum Binary Tree III 中等
Maximum Path Sum Binary Tree II 困难
Lowest Common Ancestor I 中等
Lowest Common Ancestor II 中等
-
Recursion III
Lowest Common Ancestor IV 困难
Reconstruct Binary Tree With Preorder And Inorder 中等
Reconstruct Binary Search Tree With Postorder Traversal 中等
Reconstruct Binary Tree With Levelorder And Inorder 困难
-
Cross-training I
Array Deduplication I 简单
Array Deduplication II 中等
Array Deduplication III 中等
Array Deduplication IV 困难
Move 0s To The End II 简单
Largest And Smallest 中等
Largest And Second Largest 中等
Get Keys In Binary Tree Layer By Layer Zig-Zag Order 中等
2 Sum 简单
2 Sum All Pair I 中等
2 Sum All Pair II 中等
3 Sum 中等
4 Sum 中等
-
Cross-training II
Deep Copy Linked List With Random Pointer 中等
Deep Copy Undirected Graph 中等
Merge K Sorted Array 中等
Merge K Sorted Lists 中等
Closest Number In Binary Search Tree 中等
Largest Number Smaller In Binary Search Tree 中等
Delete In Binary Search Tree 中等
Cutting Wood I 困难
-
Cross-training III
Spiral Order Traverse I 中等
Spiral Order Traverse II 中等
Rotate Matrix 中等
Reverse Linked List In Pairs 中等
Reverse Binary Tree Upside Down 中等
String Abbreviation Matching 中等
-
Cross-training IV
Common Elements In Three Sorted Array 中等
Largest Product Of Length 困难
Kth Smallest With Only 3, 5, 7 As Factors 中等
Kth Closest Point To <0,0,0> 中等
Place To Put The Chair I 困难
Largest Rectangle In Histogram 困难
Max Water Trapped I 中等
Max Water Trapped II 困难
-
Cross-training V
Kth Smallest In Two Sorted Arrays 困难
Maximum Values Of Size K Sliding Windows 中等
Implement LRU Cache 中等
First Non-Repeating Character In Stream 中等
Majority Number I 简单
-
Cross-training VI
Longest Common Substring 中等
Longest Common Subsequence 中等
Longest Ascending Subsequence 中等
Most Points On A Line 中等
Largest Set Of Points With Positive Slope 中等
Get Count Array 困难
-
Cross-training XCIX
Evaluate Reverse Polish Notation 中等
Search In Shifted Sorted Array I 中等
Search In Shifted Sorted Array II 困难
Shift Position 中等
Total Occurrence 中等
Kth Smallest Sum In Two Sorted Arrays 中等
Selection Sort Linked List 困难
Merge Sort Linked List 中等
Quick Sort Linked List 困难
Number Of Nodes 简单
Cycle Node In Linked List 中等
Identical Binary Tree 简单
Insert In Binary Search Tree 简单
Search In Binary Search Tree 简单
Height of Binary Tree 简单
Missing Number II 简单
Common Numbers Of Two Arrays I 简单
Common Numbers Of Two Arrays II 简单
All Unique Characters I 简单
Remove Adjacent Repeated Characters II 中等
Remove Adjacent Repeated Characters III 中等
Encode Space 简单
Array Hopper III 中等
Array Hopper IV 困难
Buy Stock I 简单
Buy Stock II 简单
Buy Stock III 中等
Buy Stock IV 困难
Merge Stones 困难
Largest SubArray Product 困难
Largest Rectangle Of 1s 困难
Largest SubMatrix Product 困难
Lowest Common Ancestor III 困难
Deep Copy Skip List 中等
Maximum Path Sum Binary Tree I 中等
Binary Tree Diameter 中等
Minimum Cuts For Palindromes 中等
Recover Binary Search Tree 中等
Find Number of BSTs Generated 中等
Climbing Stairs 简单
Square Root I 中等
Compress String 困难
Decompress String I 中等
2 Sum Closest 中等
2 Sum Smaller 中等
2 Sum 2 Arrays 中等
3 Sum 3 Arrays 中等
Kth Smallest With Only 2, 3 As Factors 中等
Place To Put The Chair II 中等
Largest Container 中等
Median Of Two Arrays 困难
Majority Number II 中等
Majority Number III 困难
Interleave Strings 中等
Reconstruct Binary Search Tree With Preorder Traversal 中等
Reconstruct Binary Search Tree With Level Order Traversal 中等
Reconstruct Binary Tree With Postorder And Inorder 中等
Disjoint White Objects 中等
Add Two Numbers 中等
Count and Say 简单
Longest Palindromic Substring 中等
Sort In Specified Order 中等
Sort With 2 Stacks 中等
Check If Linked List Is Palindrome 中等
Array Deduplication V 中等
Isomorphic String I 简单
Reverse Only Vowels 简单
Replacements Of A And B 中等
Ascending Triple I 简单
Reverse Words In A Sentence II 中等
Rainbow Sort II 中等
Rainbow Sort III 中等
Median Of Two Sorted Arrays 困难
Quiz: Largest SubArray Sum 中等