All About Algorithms
- 01-Array
- 02-String
- 03-Tree
- 04-Stack
- 05-Linked-List
- 06-Math
- 07-Dynamic-Programming
- 08-Depth-First-Search
- 09-Breadth-First-Search
- 10-Hash-Table
- 11-Greedy
- 12-Binary-Search
- 13-Two-Pointers
- 14-Backtracking
- 15-Sort
01-Array
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 11 | Container With Most Water | Medium | py cpp | |
| 1 | Two Sum | Easy | py | |
| 15 | 3Sum | Medium | py cpp | |
| 646 | Maximum Length of Pair Chain | Medium | py | |
| 1051 | Height Checker | Easy | py | |
| 697 | Degree of an Array | Easy | py | |
| 1013 | Partition Array Into Three Parts With Equal Sum | Easy | py |
02-String
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 833 | Find And Replace in String | Medium | py | |
| 1108 | Defanging an IP Address | Easy | O(n) | py |
| 917 | Reverse Only Letters | Easy | py |
03-Tree
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 94 | Binary Tree Inorder Traversal | Medium | py | |
| 102 | Binary Tree Level Order Traversal | Medium | py | |
| 144 | Binary Tree Preorder Traversal | Medium | py | |
| 145 | Binary Tree Postorder Traversal | Hard | py | |
| 257 | Binary Tree Paths | Easy | py | |
| 101 | Symmetric Tree | Easy | py | |
| 96 | Unique Binary Search Trees | Medium | py |
04-Stack
| # | title | difficulty | complexity | link |
|---|
05-Linked-List
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 21 | Merge Two Sorted Lists | Easy | py |
06-Math
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 371 | Sum of Two Integers | Easy | py | |
| 812 | Largest Triangle Area | Easy | py |
07-Dynamic-Programming
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 62 | Unique Paths | Medium | py | |
| 338 | Counting Bits | Medium | py | |
| 1025 | Divisor Game | Easy | py | |
| 413 | Arithmetic Slices | Medium | py | |
| 712 | Min-ASCII Delete Sum for Two Strings | Medium | py | |
| 121 | Best Time to Buy and Sell Stock | Easy | cpp | |
| 746 | Min Cost Climbing Stairs | Easy | py | |
| 357 | Count Numbers with Unique Digits | Medium | cpp | |
| 96 | Unique Binary Search Trees | Medium | py |
08-Depth-First-Search
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 638 | Shopping Offers | Medium | py |
09-Breadth-First-Search
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 733 | Flood Fill | Easy | py |
10-Hash-Table
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 748 | Shortest Completing Word | Easy | py |
11-Greedy
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 122 | Best Time to Buy and Sell Stock II | Easy | py |
12-Binary-Search
| # | title | difficulty | complexity | link |
|---|
13-Two-Pointers
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 15 | 3Sum | Medium | py cpp |
14-Backtracking
| # | title | difficulty | complexity | link |
|---|---|---|---|---|
| 77 | Combinations | Medium | py |
15-Sort
| # | title | difficulty | complexity | link |
|---|