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 |