| 1 |
TwoSum |
Integer |
| 2 |
Add Two Numbers |
Linked List, Math |
| 3 |
Longest Substring Without Repeating Characters |
Hash Table, String |
| 4 |
Median of Two Sorted Arrays |
Array, Binary Search, Divide and Conquer |
| 5 |
Longest Palindromic Substring |
String |
| 6 |
ZigZag Conversion |
String |
| 7 |
Reverse Integer |
Math |
| 8 |
String to Integer (atoi) |
Math, String |
| 9 |
Palindrome Number |
Math |
| 10 |
Regular Expression Matching |
String, Dynamic Programming, Backtracking |
| 11 |
Container With Most Water |
Array, Two Pointers |
| 12 |
Integer to Roman |
Math, String |
| 13 |
Roman to Integer |
Math, String |
| 14 |
Longest Common Prefix |
String |
| 15 |
3Sum |
Array, Two Pointers |
| 16 |
3Sum Closest |
Array, Two Pointers |
| 17 |
Letter Combinations of a Phone Number |
String, Backtracking |
| 18 |
4Sum |
Array, Hash Table, Two Pointers |
| 19 |
Remove Nth Node From End of List |
Array |
| 20 |
Valid Parentheses |
Array |
| 21 |
Merge Two Sorted Lists |
LinedList |
| 22 |
Generate Parentheses |
Recursion |
| 23 |
Merge k Sorted Lists |
Linked List, Heap |
| 24 |
Swap Nodes in Pairs |
Linked List |
| 25 |
Reverse Nodes in k-Group |
Linked List |
| 26 |
Remove Duplicates from Sorted Array |
Array |
| 27 |
Remove Element |
Array |
| 28 |
Implement strStr |
String, Two Pointers |
| 29 |
Divide Two Integers |
Binary Search |
| 30 |
Substring with Concatenation of All Words |
HashTable, Two Pointers |