303 |
range sum query 2d immutable |
py |
299 |
bulls and cows |
py |
295 |
find median from data stream |
py |
292 |
nim game |
py |
290 |
word pattern |
py |
289 |
game of life |
py |
287 |
find the duplicate number |
py |
284 |
peeking iterator |
py |
283 |
move zeroes |
py |
282 |
expression add operators |
py |
279 |
perfect squares |
py |
278 |
first bad version |
py |
275 |
h index ii |
py |
274 |
h index |
py |
273 |
integer to english words |
py |
268 |
missing number |
py |
264 |
ugly number ii |
py |
263 |
ugly number |
py |
260 |
single number |
py |
258 |
add digits |
py |
257 |
binary tree paths |
py |
242 |
valid anagram |
py |
241 |
different ways to add parentheses |
py |
240 |
search a 2d matrix |
py |
239 |
sliding window maximum |
py |
238 |
product of array except self |
py |
237 |
delete node in a linked list |
py |
236 |
lowest common ancestor of a binary tree |
cc py |
235 |
lowest common ancestor of a binary search tree |
cc py |
234 |
palindrome linked list |
py |
233 |
number of digit one |
py |
232 |
implement queue using stacks |
py |
231 |
power of two |
py |
230 |
kth smallest element in a bst |
py |
228 |
summary ranges |
cc py |
226 |
invert binary tree |
cc py |
225 |
implement stack using queues |
py |
224 |
basic calculator |
py |
223 |
rectangle area |
cc py |
222 |
count complete tree nodes |
py |
221 |
maximal square |
py |
220 |
contains duplicate iii |
py |
219 |
contains duplicate ii |
cc py |
217 |
contains duplicate |
cc py |
216 |
combination sum iii |
py |
215 |
kth largest element in an array |
cc py |
213 |
house robber ii |
py |
210 |
course schedule ii |
cc py |
209 |
minimum size subarray sum |
py |
208 |
implement trie prefix tree |
py |
207 |
course schedule |
cc py |
206 |
reverse linked list |
py |
203 |
remove linked list elements |
py |
202 |
happy number |
py |
200 |
number of islands |
py |
199 |
binary tree right side view |
cc |
198 |
house robber |
py |
188 |
best time to buy and sell stock |
py |
173 |
binary search tree iterator |
py |
172 |
factorial-trailing-zeroes |
|
169 |
majority-element |
|
168 |
excel-sheet-column-title |
|
166 |
fraction to recurring decimal |
py |
165 |
compare version numbers |
py |
162 |
find peak element |
py |
160 |
intersection of two linked lists |
py |
157 |
read n characters given read4 |
py |
155 |
min stack |
py |
154 |
find minimum in rotated sorted array ii |
py |
153 |
find minimum in rotated sorted array |
py |
151 |
reverse words in a string |
py |
146 |
lru cache |
py |
145 |
binary tree postorder traversal |
cc |
144 |
binary tree preorder traversal |
cc |
143 |
reorder list |
py |
139 |
word break |
py |
133 |
clone graph |
cc |
132 |
palindrome partitioning ii |
py |
131 |
palindrome partitioning |
py |
128 |
longest consecutive sequence |
py |
127 |
word ladder |
py |
125 |
valid palindrome |
py |
124 |
binary tree maximum path sum |
py |
123 |
best time to buy and sell stock iii |
py |
122 |
best time to buy and sell stock ii |
py |
119 |
pascals-triangle-ii |
|
118 |
pascals-triangle |
|
113 |
path sum ii |
py |
112 |
path sum |
py |
111 |
minimum depth of binary tree |
py |
110 |
balanced binary tree |
cc py |
109 |
convert sorted list to binary search tree |
py |
108 |
convert sorted array to binary search tree |
py |
107 |
binary tree level order traversal |
cc py |
107 |
binary tree level order traversal ii |
py |
104 |
maximum depth of binary tree |
py |
103 |
binary tree zigzag level order traversal |
cc |
101 |
symmetric tree |
py |
100 |
same tree |
py |
098 |
validate binary search tree |
py |
096 |
unique binary search trees |
py |
095 |
unique binary search trees ii |
py |
094 |
binary tree inorder traversal |
cc |
093 |
restore ip addresses |
py |
092 |
reverse linked list ii |
py |
091 |
decode ways |
py |
090 |
subsets ii |
py |
089 |
gray code |
py |
088 |
merge sorted array |
py |
086 |
partition list |
py |
085 |
maximal rectangle |
py |
084 |
largest rectangle in histogram |
py |
083 |
remove duplicates from sorted list |
py |
082 |
remove duplicates from sorted list ii |
py |
081 |
search in rotated sorted array ii |
py |
080 |
remove duplicates from sorted array ii |
py |
079 |
word search |
py |
078 |
subsets |
py |
077 |
combinations |
py |
076 |
minimum window substring |
py |
075 |
sort colors |
py |
073 |
set matrix zeroes |
py |
072 |
one edit distance |
py |
071 |
simplify path |
py |
070 |
climbing stairs |
py |
069 |
sqrtx |
py |
067 |
add binary |
py |
066 |
plus one |
py |
064 |
minimum path sum |
py |
063 |
unique paths ii |
py |
062 |
unique paths |
py |
061 |
rotate list |
py |
060 |
permutation sequence |
py |
059 |
spiral matrix ii |
py |
058 |
length of last word |
py |
057 |
insert interval |
py |
056 |
merge intervals |
py |
055 |
jump game |
py |
054 |
spiral matrix |
py |
053 |
maximum subarray |
py |
050 |
powx n |
py |
049 |
anagrams |
py |
048 |
rotate image |
py |
047 |
permutations ii |
py |
046 |
permutations |
py |
044 |
wildcard matching |
py |
043 |
multiply strings |
py |
042 |
trapping rain water |
py |
041 |
first missing positive |
py |
040 |
combination sum ii |
py |
039 |
combination sum |
py |
038 |
count and say |
py |
037 |
sudoku solver |
py |
036 |
valid sudoku |
py |
035 |
search insert position |
py |
034 |
search for a range |
py |
033 |
search in rotated sorted array |
py |
032 |
longest valid parentheses |
py |
031 |
next permutation |
py |
030 |
substring with concatenation of all words |
py |
029 |
divide two integers |
py |
028 |
implement strstr |
py |
027 |
remove element |
py |
026 |
remove duplicates from sorted array |
py |
025 |
reverse nodes in k group |
py |
024 |
swap nodes in pairs |
py |
023 |
merge k sorted lists |
py |
022 |
generate parentheses |
py |
021 |
merge two sorted lists |
py |
020 |
valid parentheses |
py |
019 |
remove nth node from end of list |
py |
018 |
4sum |
py |
017 |
letter combinations of a phone number |
py |
016 |
3sum closest |
py |
015 |
3sum |
py |
014 |
longest common prefix |
py |
013 |
roman to integer |
py |
012 |
integer to roman |
py |
011 |
container with most water |
py |
010 |
regular expression matching |
py |
009 |
palindrome number |
py |
008 |
string to integer atoi |
cc py |
007 |
reverse integer |
py |
006 |
zigzag conversion |
cc py |
005 |
longest palindromic substring |
cc py |
004 |
median of two sorted arrays |
cc py |
003 |
longest substring without repeating characters |
cc py rb |
002 |
add two numbers |
cc py rb |
001 |
two sum |
cc py rb |