myleetcode Build Status
My LeetCode Solutions!
- Array and String
- Queue & Stack
- Linked List
- Hash Table
- Trie
- Binary Search
- Binary Search Tree
- N-ary Tree
- Binary Tree
- Interview Practice
| # | Title | Solutions | Difficulty | Tag | 
|---|---|---|---|---|
| 14 | Longest Common Prefix | Java & Python | Easy | Introduction to String | 
| 26 | Remove Duplicates from Sorted Array | Java & Python | Easy | Conclusion | 
| 27 | Remove Element | Java & Python | Easy | Two-Pointer Technique | 
| 28 | Implement strStr() | Java & Python | Easy | Introduction to String | 
| 54 | Spiral Matrix | Java & Python | Medium | Introduction to 2D Array | 
| 66 | Plus One | Java & Python | Easy | Introduction to Array | 
| 67 | Add Binary | Java & Python | Easy | Introduction to String | 
| 118 | Pascal's Triangle | Java & Python | Easy | Introduction to 2D Array | 
| 119 | Pascal's Triangle II | Java & Python | Easy | Conclusion | 
| 151 | Reverse Words in a String | Java & Python | Medium | Conclusion | 
| 167 | Two Sum II - Input array is sorted | Java & Python | Easy | Two-Pointer Technique | 
| 189 | Rotate Array | Java & Python | Easy | Conclusion | 
| 209 | Minimum Size Subarray Sum | Java & Python | Medium | Two-Pointer Technique | 
| 283 | Move Zeroes | Java & Python | Easy | Conclusion | 
| 344 | Reverse String | Java & Python | Easy | Two-Pointer Technique | 
| 485 | Max Consecutive Ones | Java & Python | Easy | Two-Pointer Technique | 
| 498 | Diagonal Traverse | Java & Python | Medium | Introduction to 2D Array | 
| 557 | Reverse Words in a String III | Java & Python | Easy | Conclusion | 
| 561 | Array Partition I | Java & Python | Easy | Two-Pointer Technique | 
| 724 | Find Pivot Index | Java & Python | Easy | Introduction to Array | 
| 747 | Largest Number Greater Than Twice of Others | Java & Python | Easy | Introduction to Array | 
| # | Title | Solutions | Difficulty | Tag | 
|---|---|---|---|---|
| 200 | Number of Islands | Java & Python | Medium | Queue and BFS | 
| 622 | Design Circular Queue | Java & Python | Medium | Queue: First-in-first-out Data Structure | 
| 752 | Open the Lock | Java & Python | Medium | Queue and BFS | 
| # | Title | Solutions | Difficulty | Tag | 
|---|---|---|---|---|
| 19 | Remove Nth Node From End of List | Java & Python | Medium | Two Pointer Technique | 
| 141 | Linked List Cycle | Java & Python | Easy | Two Pointer Technique | 
| 142 | Linked List Cycle II | Java & Python | Medium | Two Pointer Technique | 
| 160 | Intersection of Two Linked Lists | Java & Python | Easy | Two Pointer Technique | 
| 203 | Remove Linked List Elements | Java & Python | Easy | Classic Problems | 
| 206 | Reverse Linked List | Java & Python | Easy | Classic Problems | 
| 234 | Palindrome Linked List | Java & Python | Easy | Classic Problems | 
| 328 | Odd Even Linked List | Java & Python | Medium | Classic Problems | 
| 707 | Design Linked List | Java & Python | Easy | Singly Linked List | 
| # | Title | Solutions | Difficulty | Tag | 
|---|---|---|---|---|
| 33 | Search in Rotated Sorted Array | Java & Python | Medium | Template I | 
| 69 | Sqrt(x) | Java & Python | Easy | Template I | 
| 153 | Find Minimum in Rotated Sorted Array | Java & Python | Medium | Template II | 
| 162 | Find Peak Element | Java & Python | Medium | Template II | 
| 278 | First Bad Version | Java & Python | Easy | Template II | 
| 374 | Guess Number Higher or Lower | Java & Python | Easy | Template I | 
| 704 | Binary Search | Java & Python | Easy | Background |