DONE | done |
WIP | work in progress |
NIP | not in-place |
TODO | to do |
TLE | time limit exceeded |
26 | Remove Duplicates from Sorted Array | DONE |
27 | Remove Element | DONE |
80 | Remove Duplicates from Sorted Array II | DONE |
37 | Sudoku Solver | DONE |
51 | N-Queens | DONE |
52 | N-Queens II | DONE |
29 | Divide Two Integers | DONE |
136 | Single Number | DONE |
7 | Reverse Integer | DONE |
8 | String to Integer (atoi) | DONE |
9 | Palindrome Number | DONE |
12 | Integer to Roman | DONE |
13 | Roman to Integer | DONE |
38 | Count and Say | DONE |
43 | Multiply Strings | DONE |
50 | Pow(x, n) | DONE |
66 | Plus One | DONE |
67 | Add Binary | DONE |
2 | Add Two Numbers | DONE |
19 | Remove Nth Node From End of List | DONE |
21 | Merge Two Sorted Lists | DONE |
23 | Merge k Sorted Lists | DONE |
24 | Swap Nodes in Pairs | NIP |
25 | Reverse Nodes in k-Group | NIP |
10 | Regular Expression Matching | TODO |
28 | Implement strStr() | TODO |
44 | Wildcard Matching | TODO |
20 | Valid Parentheses | DONE |
32 | Longest Valid Parentheses | DONE |
71 | Simplify Path | DONE |
84 | Largest Rectangle in Histogram | DONE |
150 | Evaluate Reverse Polish Notation | DONE |
1 | Two Sum | DONE |
15 | 3Sum | TLE |
16 | 3Sum Closest | TODO |
18 | 4Sum | DONE |
3 | Longest Substring Without Repeating Characters | DONE |
6 | ZigZag Conversion | DONE |
14 | Longest Common Prefix | DONE |
36 | Valid Sudoku | DONE |
41 | First Missing Positive | DONE |
49 | Anagrams | DONE |
54 | Spiral Matrix | DONE |
56 | Merge Intervals | DONE |
57 | Insert Interval | DONE |
59 | Spiral Matrix II | DONE |
75 | Sort Colors | DONE |
76 | Minimum Window Substring | DONE |
93 | Restore IP Addresses | DONE |
115 | Distinct Subsequences | DONE |
118 | Pascal's Triangle | DONE |
119 | Pascal's Triangle II | DONE |
120 | Triangle | DONE |
125 | Valid Palindrome | DONE |
126 | Word Ladder II | DONE |
127 | Word Ladder | DONE |
130 | Surrounded Regions | DONE |
134 | Gas Station | DONE |
135 | Candy | DONE |
138 | Copy List with Random Pointer | DONE |
141 | Linked List Cycle | DONE |
142 | Linked List Cycle II | DONE |