1 |
Two Sum |
two-sum |
Easy |
solution |
374 |
Guess Number Higher or Lower |
guess-number |
Easy |
solution |
167 |
Two Sum II - Input array is sorted |
two-sum-II |
Easy |
solution |
9 |
Palindrome Number |
palindrome-number |
Easy |
solution |
704 |
Binary Search |
binary-search |
Easy |
solution |
69 |
Sqrt |
sqrt |
Easy |
solution |
35 |
Search Insert Position |
search-insert-position |
Easy |
solution |
278 |
First Bad Version |
first-bad-version |
Easy |
solution |
162 |
Find Peak Element |
find-peak-element |
Easy |
soution |
153 |
Find Minimum in Rotated Sorted Array |
find-minimum-in-rotated-sorted-array |
Easy |
solution |
724 |
Find Pivot Index |
find-pivot-index |
Easy |
solution |
747 |
Largest Number At Least Twice of Others |
largest-number-at-least-twice-of-others |
Easy |
solution |
66 |
Plus One |
plus-one |
Easy |
solution |
54 |
Spiral Matrix |
spiral-matrix |
Easy |
solution |
118 |
Pascal's Triangle |
pascals-triangle |
Easy |
solution |
67 |
Add Binary |
add-binary |
Easy |
solution |
28 |
Implement strStr() |
implement-strstr |
Easy |
solution |
344 |
Reverse String |
reverse-string |
Easy |
solution |
561 |
Array Partition I |
array-partition-i |
Easy |
solution |
20 |
Valid Parentheses |
valid-parentheses |
Easy |
solution |
844 |
Backspace String Compare |
backspace-string-compare |
Easy |
solution |
283 |
Move Zeroes |
move-zeroes |
Easy |
solution |
27 |
Remove Element |
remove-element |
Easy |
solution |
58 |
Length of Last Word |
length-of-last-word |
Easy |
solution |
13 |
Roman to Integer |
roman-to-integer |
Easy |
solution |
804 |
Unique Morse Code Words |
unique-morse-code-words |
Easy |
solution |
709 |
To Lower Case |
to-lower-case |
Easy |
solution |
824 |
Goat Latin |
goat-latin |
Easy |
solution |
830 |
Positions of Large Groups |
positions-of-large-groups |
Easy |
solution |
169 |
Majority Element |
majority-element |
Easy |
solution |
144 |
Binary Tree Preorder Traversal |
binary-tree-preorder-traversal |
Medium |
solution |
94 |
Binary Tree Inorder Traversal |
binary-tree-inorder-traversal |
Medium |
solution |
145 |
Binary Tree Postorder Traversal |
binary-tree-postorder-traversal |
Hard |
solution |
622 |
Design Circular Queue |
design-circular-queue |
Medium |
solution |
346 |
Moving Average from Data Stream |
moving-average-from-data-stream |
Easy |
solution |
100 |
Same Tree |
same-tree |
Easy |
solution |
88 |
Merge Sorted Array |
merge-sorted-array |
Easy |
solution |
26 |
Remove Duplicates from Sorted Array |
remove-duplicates-from-sorted-array |
Easy |
solution |
7 |
Reverse Integer |
reverse-integer |
Easy |
solution |
14 |
Longest Common Prefix |
longest-common-prefix |
Easy |
solution |
53 |
Maximum Subarray |
maximum-subarray |
Easy |
solution |
119 |
Pascal's Triangle II |
pascals-triangle-ii |
Easy |
solution |
121 |
Best Time to Buy and Sell Stock |
best-time-to-buy-and-sell-stock |
Easy |
solution |
21 |
Merge Two Sorted Lists |
merge-two-sorted-lists |
Easy |
solution |
189 |
Rotate Array |
rotate-array |
Easy |
solution |
686 |
Repeated String Match |
repeated-string-match |
Easy |
solution |
482 |
License Key Formatting |
license-key-formatting |
Easy |
solution |
102 |
Binary Tree Level Order Traversal |
binary-tree-level-order-traversal |
Medium |
solution |
771 |
Jewels and Stones |
jewels-and-stones |
Easy |
solution |
387 |
First Unique Character in a String |
first-unique-character-in-a-string |
Easy |
solution |
206 |
Reverse Linked List |
reverse-linked-list |
Easy |
solution |
141 |
Linked List Cycle |
linked-list-cycle |
Easy |
solution |
485 |
Max Consecutive Ones |
max-consecutive-ones |
Easy |
solution |
151 |
Reverse Words in a String |
reverse-words-in-a-string |
Medium |
solution |
136 |
Single Number |
single-number |
Easy |
solution |
217 |
Contains Duplicate |
contains-duplicate |
Easy |
solution |
209 |
Minimum Size Subarray Sum |
minimum-size-subarray-sum |
Medium |
solution |
557 |
Reverse Words in a String III |
reverse-words-in-a-string-iii |
Easy |
solution |
896 |
Monotonic Array |
monotonic-array |
Easy |
solution |
142 |
Linked List Cycle II |
linked-list-cycle-ii |
Medium |
solution |
160 |
Intersection of Two Linked Lists |
intersection-of-two-linked-lists |
Easy |
solution |
19 |
Remove Nth Node From End of List |
remove-nth-node-from-end-of-list |
Medium |
solution |
977 |
Squares of a Sorted Array |
squares-of-a-sorted-array |
Easy |
solution |
978 |
Longest Turbulent Subarray |
longest-turbulent-subarray |
Medium |
solution |
203 |
Remove Linked List Elements |
remove-linked-list-elements |
Easy |
solution |
328 |
Odd Even Linked List |
odd-even-linked-list |
Medium |
solution |
104 |
Maximum Depth of Binary Tree |
maximum-depth-of-binary-tree |
Easy |
solution |
112 |
Path Sum |
path-sum |
Easy |
solution |
101 |
Symmetric Tree |
symmetric-tree |
Easy |
solution |
110 |
Balanced Binary Tree |
balanced-binary-tree |
Easy |
solution |
111 |
Minimum Depth of Binary Tree |
minimum-depth-of-binary-tree |
Easy |
solution |
226 |
Invert Binary Tree |
invert-binary-tree |
Easy |
solution |
113 |
Path Sum II |
path-sum-ii |
Medium |
solution |
257 |
Binary Tree Paths |
binary-tree-paths |
Easy |
solution |
199 |
Binary Tree Right Side View |
binary-tree-right-side-view |
Medium |
solution |
671 |
Second Minimum Node In a Binary Tree |
second-minimum-node-in-a-binary-tree |
Easy |
solution |
11 |
Container With Most Water |
container-with-most-water |
Medium |
solution |
24 |
Swap Nodes in Pairs |
swap-nodes-in-pairs |
Medium |
solution |
543 |
Diameter of Binary Tree |
diameter-of-binary-tree |
Easy |
solution |
173 |
Binary Search Tree Iterator |
binary-search-tree-iterator |
Medium |
solution |
129 |
Sum Root to Leaf Numbers |
sum-root-to-leaf-numbers |
Medium |
solution |
404 |
Sum of Left Leaves |
sum-of-left-leaves |
Easy |
solution |
617 |
Merge Two Binary Trees |
merge-two-binary-trees |
Easy |
solution |
3 |
Longest Substring Without Repeating Characters |
longest-substring-without-repeating-characters |
Medium |
solution |
125 |
Valid Palindrome |
lvalid-palindrome |
Easy |
solution |
293 |
Flip Game |
flip-game |
Easy |
solution |
83 |
Remove Duplicates from Sorted List |
remove-duplicates-from-sorted-list |
Easy |
solution |
171 |
Excel Sheet Column Number |
excel-sheet-column-number |
Easy |
solution |
2 |
Add Two Numbers |
add-two-numbers |
Medium |
solution |
108 |
Convert Sorted Array to Binary Search Tree |
convert-sorted-array-to-binary-search-tree |
Easy |
solution |
122 |
Best Time to Buy and Sell Stock II |
best-time-to-buy-and-sell-stock-ii |
Easy |
solution |
258 |
Add Digits |
add-digits |
Easy |
solution |
205 |
Isomorphic Strings |
isomorphic-strings |
Easy |
solution |
202 |
Happy Number |
happy-number |
Easy |
solution |
231 |
Power of Two |
power-of-two |
Easy |
solution |
326 |
Power of Three |
power-of-three |
Easy |
solution |
219 |
Contains Duplicate II |
contains-duplicate-ii |
Easy |
solution |
266 |
Palindrome Permutation |
palindrome-permutation |
Easy |
solution |
242 |
Valid Anagram |
valid-anagram |
Easy |
solution |
409 |
Longest Palindrome |
longest-palindrome |
Easy |
solution |
243 |
Shortest Word Distance |
shortest-word-distance |
Easy |
solution |
953 |
Verifying an Alien Dictionary |
verifying-an-alien-dictionary |
Easy |
solution |
700 |
Search in a Binary Search Tree |
search-in-a-binary-search-tree |
Easy |
solution |
965 |
Univalued Binary Tree |
nivalued-binary-tree |
Easy |
solution |
589 |
N-ary Tree Preorder Traversal |
n-ary-tree-preorder-traversal |
Easy |
solution |
590 |
N-ary Tree Postorder Traversal |
n-ary-tree-postorder-traversal |
Easy |
solution |
246 |
Strobogrammatic Number |
strobogrammatic-number |
Easy |
solution |
268 |
Missing Number |
missing-number |
Easy |
solution |
36 |
Valid Sudoku |
valid-sudoku |
Medium |
solution |
237 |
Delete Node in a Linked List |
delete-node-in-a-linked-list |
Easy |
solution |