Success is like pregnancy, Everybody congratulates you but nobody knows how many times you were screwed to achieve it.
| # | Title | Solution | Time | Space | Difficulty | Tag | Note |
|---|---|---|---|---|---|---|---|
| 21 | Merge Two Sorted Lists | Python | O(n) | O(n) | Easy | Iteratively | |
| 89 | Partition List | Python | O(n) | O(n) | Easy | CC189 | |
| 141 | Linked List Cycle | Python | O(n) | O(1) | Easy | CC189 | Two Pointers |
| 160 | Intersection of Two Linked Lists | Python | O(n) | O(1) | Easy | ||
| 203 | Remove Linked List Elements | Python | O(n) | O(1) | Easy | ||
| 206 | Reverse Linked List | Python | O(n) | O(1) | Easy | CC189 | Video Tutorial |
| 234 | Palindrome Linked List | Python | O(n) | O(1) | Easy | CC189 | Two Pointers |
| 2 | Add Two Numbers | Python | O(n) | O(n) | Medium | CC189 | |
| 445 | Add Two Numbers II | Python | O(n) | O(n) | Medium | CC189 | Stack |
| # | Title | Solution | Time | Space | Difficulty | Tag | Note |
|---|---|---|---|---|---|---|---|
| 142 | Linked List Cycle II | Python | O(n) | O(1) | Medium | CC189 | Video |
| 328 | Odd Even Linked List | Python | O(n) | O(1) | Medium | ||
| 143 | Reorder List | Python | O(n) | O(1) | Medium | ||
| 24 | Swap Nodes in Pairs | Python | O(n) | O(1) | Medium | Note |
| # | Title | Solution | Time | Space | Difficulty | Tag | Note |
|---|---|---|---|---|---|---|---|
| 83 | Remove Duplicates from Sorted List | Python | O(n) | O(1) | Easy | ||
| 148 | Sort List | Python | O(nlogn) | O(1) | Medium | ||
| 61 | Rotate List | Python | O(n) | O(1) | Medium | ||
| 19 | Remove Nth Node From End of List | Python | O(n) | O(1) | Medium |
|138|Copy List with Random Pointer| Python | O(n)| O(n) | Medium | ||