This repo contains all of my personal LeetCode solutions. The coding solutions provided within this repo are entirely provided by me, William Crutchfield.
All solutions were made with the sole intent of solving the corresponding LeetCode challenge. Solutions may not be as efficient as possible.
All solutions are orderd by: Solution #
Solved | # | Title | Acceptance | Difficulty | Solution | Runtime | Memory | Language |
---|---|---|---|---|---|---|---|---|
1 | Two Sum | 44.3% | GitHub | 44ms | 34.6 MB | |||
2 | Add Two Numbers | 31.5% | GitHub | 104 ms | 38.4 MB | |||
3 | Longest Substring Without Repeating Characters | 28.7% | GitHub | N/A ms | N/A MB | |||
4 | Median of Two Sorted Arrays | 26.9% | GitHub | 108 ms | 39.1 MB | |||
5 | Longest Palindromic Substring | 27.7% | GitHub | N/A ms | N/A MB | |||
6 | ZigZag Conversion | 32.7% | GitHub | N/A ms | N/A MB | |||
7 | Reverse Integer | 25.4% | GitHub | 72 ms | 35.5 MB | |||
21 | Merge Two Sorted Lists | 48.2% | GitHub | 52 ms | 35.5 MB | |||
28 | Implement strStr() | 48.2% | GitHub | 52 ms | 36 MB | |||
35 | Search Insert Position | 32.6% | GitHub | 48 ms | 33.7 MB | |||
43 | Multiply Strings | 31.9% | GitHub | 76 ms | 35.4 MB | |||
67 | Add Binary | 40.0% | GitHub | 48 ms | 34.1 MB | |||
75 | Sort Colors | 42.8% | GitHub | 56 ms | 33.7 MB | |||
232 | Implement Queue using Stacks | 45.4% | GitHub | 52 ms | 33.7 MB | |||
346 | Moving Average from Data Stream | 66.9% | GitHub | 92 ms | 42.9 MB | |||
402 | Remove K Digits | 26.9% | GitHub | N/A ms | N/A MB | |||
445 | Add Two Numbers II | 50.8% | GitHub | 100 ms | 38.6 MB | |||
482 | License Key Formatting | 41.9% | GitHub | 64 ms | 40.9 MB | |||
561 | Array Partition I | 70.3% | GitHub | 112 ms | 39 MB | |||
771 | Jewels and Stones | 83.6% | GitHub | 56 ms | 34 MB | |||
788 | Rotated Digits | 55.6% | GitHub | 64 ms | 34.8 MB | |||
791 | Custom Sort String | 62.8% | GitHub | 56 ms | 34.8 MB | |||
929 | Unique Email Address | 69.5% | GitHub | 68 ms | 39.1 MB | |||
977 | Squares of a Sorted Array | 71.9% | GitHub | 124 ms | 43.4 MB | |||
1021 | Remove Outermost Parentheses | 75.0% | GitHub | 56 ms | 36.2 MB | |||
1099 | Two Sum Less Than K | 61.6% | GitHub | 48 ms | 35.4 MB | |||
1128 | Number of Equivalent Domino Pairs | 43.6% | GitHub | 72 ms | 42.6 MB | |||
1185 | Day of the week | 65.1% | GitHub | 44 ms | 33.9 MB |