# | Title | Solution | Time | Space | Difficulty |
---|---|---|---|---|---|
1 | Two Sum | Java | O(n) | O(n) | Easy |
2 | Add Two Numbers | Java | O(n) | O(n) | Medium |
3 | Longest Substring | Java | O(n) | O(n) | Medium |
7 | Reverse Integer | Java | Easy | ||
11 | Container With Most Water | Java | Medium | ||
61 | Rotate List | Java | O(n) | O(1) | Medium |
134 | Gas Station | Java | O(n) | O(1) | Medium |
151 | Reverse Words in a String | Java | O(n) | O(n) | Medium |
355 | Design Twitter | Java | Medium | ||
365 | Water and Jug Problem | Java | Medium | ||
686 | Repeated String Match | Java | Easy |
#[CtCI]
# | Title | Solution | Time | Space |
---|---|---|---|---|
1 | Partition LinkedList | Java | O(n) | O(1) |
2 | Stack of Plates | Java | O(1) | O(n) |
#Other