| 1 |
Two Sum |
js ruby |
|
| 2 |
Add Two Numbers |
js ruby |
|
| 3 |
Longest Substring Without Repeating Characters |
js ruby |
|
| 4 |
Median of Two Sorted Arrays |
js ruby |
|
| 5 |
Longest Palindromic Substring |
js ruby |
๐ O(N) solution |
| 6 |
ZigZag Conversion |
js ruby |
|
| 7 |
Reverse Integer |
js ruby |
|
| 8 |
String to Integer |
js ruby |
|
| 9 |
Palindrome Number |
js ruby |
|
| 10 |
Regular Expression Matching |
js ruby |
|
| 11 |
Container With Most Water |
js ruby |
|
| 12 |
Integer to Roman |
js ruby |
|
| 13 |
Roman to Integer |
js ruby |
|
| 14 |
Longest Common Prefix |
js ruby |
|
| 15 |
3Sum |
js ruby |
|
| 16 |
3Sum Closest |
js ruby |
|
| 17 |
Letter Combinations of a Phone Number |
js ruby |
|
| 18 |
4Sum |
js ruby |
|
| 19 |
Remove Nth Node From End of List |
js ruby |
|
| 20 |
Valid Parentheses |
js ruby |
|
| 21 |
Merge Two Sorted Lists |
js ruby |
|
| 22 |
Generate Parentheses |
js ruby |
๐ |
| 23 |
Merge K Sorted Lists |
js ruby |
|
| 24 |
Swap Nodes in Pairs |
js ruby |
|
| 25 |
Reverse Nodes in k-Group |
js ruby |
|
| 26 |
Remove Duplicated from Sorted Array |
js ruby |
|
| 27 |
Remove Element |
js ruby |
|
| 28 |
Implement strStr() |
js ruby |
ๆไผ็ฎๆณๆ็ดขKMP็ฎๆณ |
| 30 |
Substring with Concatenation of All Words |
js ruby |
|
| 31 |
Next permutation |
js ruby |
๐ |
| 32 |
Longest Valid Parentheses |
js ruby |
๐ |
| 33 |
Search in Rotated Sorted Array |
js ruby |
|
| 34 |
Search for a Range |
js ruby |
|
| 35 |
Search Insert Position |
js ruby |
|
| 36 |
Valid Sudoku |
js ruby |
|
| 37 |
Sudoku Solver |
js ruby |
|
| 38 |
Count and Say |
js ruby |
|
| 39 |
Combination Sum |
js ruby |
|
| 40 |
Combination Sum II |
js ruby |
|
| 41 |
First Missing Positive |
js ruby |
๐ |
| 42 |
Trapping Rain Water |
js ruby |
๐ |
| 43 |
Multiply Strings |
js ruby |
|
| 44 |
Wildcard Matching |
js ruby |
๐ |
| 45 |
Jump Game II |
js ruby |
๐ |
| 46 |
Permutations |
js ruby |
|
| 47 |
Permutations II |
js ruby |
|
| 48 |
Rotate Image |
js ruby |
|
| 49 |
Group Anagrams |
js ruby |
|
| 50 |
Pow(x, n) |
js ruby |
|
| 51 |
N-Queens |
js ruby 1 ruby 2 |
|
| 52 |
N-Queens-II |
js ruby |
|
| 53 |
Maximum Subarray |
js ruby |
|
| 54 |
Spiral Matrix |
js ruby |
|
| 55 |
Jump Game |
js ruby |
|
| 56 |
Merge Intervals |
js ruby |
|
| 57 |
Insert Interval |
js ruby |
|
| 58 |
Length of Last Word |
js ruby |
|
| 59 |
Spiral Matrix II |
js ruby |
|
| 60 |
permutation Sequence |
js ruby |
|
| 61 |
Rotate List |
js ruby |
|
| 62 |
Unique Paths |
js ruby |
|
| 63 |
Unique Paths II |
js ruby |
|
| 64 |
Minimum Path Sum |
js ruby |
|
| 66 |
Plus One |
js ruby |
|
| 67 |
Add Binary |
js ruby |
|
| 68 |
Text Justification |
js |
|
| 69 |
Sqrt(x) |
js |
|
| 70 |
Climbing Stairs |
js ruby |
|
| 71 |
Simplify Path |
js ruby |
|
| 72 |
Edit Distance |
js ruby |
|
| 73 |
Set Matrix Zeroes |
js ruby |
|
| 74 |
Search a 2D Matrix |
js |
|
| 75 |
Sort Colors |
js ruby |
|
| 76 |
Minimum Window Substring |
js ruby |
|
| 77 |
Combinations |
js ruby |
|
| 78 |
Subsets |
js ruby |
|
| 79 |
Word Search |
js ruby |
|
| 80 |
Remove Duplicates for Sorted Array |
js ruby |
|
| 81 |
Search in Rotated Sorted Array II |
js |
|
| 82 |
Remove Duplicates from Sorted List II |
js ruby |
|
| 83 |
Remove Duplicates from Sorted List |
js ruby |
|
| 84 |
Largest Rectangle in Histogram |
js ruby |
|
| 85 |
Maximal Rectangle |
js ruby |
|
| 86 |
Partition List |
js ruby |
|
| 87 |
Scramble String |
js ruby |
|
| 88 |
Merge Sorted Array |
js ruby |
|
| 89 |
Gray Code |
js |
|
| 90 |
Subsets II |
js |
|
| 91 |
Decode Ways |
js |
|
| 92 |
Reverse Linked List II |
js |
|
| 93 |
Restore IP Addresses |
js |
|
| 94 |
Binary Tree Inorder Traversal |
js |
|
| 95 |
Unique Binary Search Trees II |
js |
|
| 96 |
Unique Binary Search Trees |
js |
|
| 97 |
Interleaving String |
js |
|
| 98 |
Validate Binary Search Tree |
js |
|
| 99 |
Recover Binary Search Tree |
js |
|
| 100 |
Same Tree |
js |
|
| 101 |
Symmetric Tree |
js |
|
| 102 |
Binary Tree Level Order Traversal |
js |
|
| 103 |
Binary Tree ZigZag Level Order Traversal |
js |
|
| 104 |
Maximum Depth of Binary Tree |
js |
|
| 105 |
Construct Binary Tree from Preorder and Inorder Traversal |
js |
|
| 106 |
Construct Binary Tree from Inorder and Postorder Traversal |
js |
|
| 107 |
Binary Tree Level Order Traversal II |
js |
|
| 108 |
Convert Sorted Array to Binary Search Tree |
js |
|
| 109 |
Convert Sorted List to Binary Search Tree |
js |
|
| 110 |
Balanced Binary Tree |
js |
|
| 111 |
Minimum Depth of Binary Tree |
js |
|
| 112 |
Path Sum |
js |
|
| 113 |
Path Sum II |
js |
|
| 114 |
Flatten Binary Tree to Linked List |
js |
|
| 115 |
Distinct Subsequences |
js |
|
| 116 |
Populating Next Right Pointers in Each Node |
js |
|
| 117 |
Populating Next Right Pointers in Each Node II |
js |
|
| 118 |
Pascal's Triangle |
js |
|
| 119 |
Pascal's Triangle II |
js |
|
| 120 |
Triangle |
js |
|
| 121 |
Best Time to Buy and Sell Stock |
js |
|
| 122 |
Best Time to Buy and Sell Stock II |
js |
|
| 123 |
Best Time to Buy and Sell Stock III |
js |
|
| 124 |
Binary Tree Maximum Path Sum |
js |
|
| 125 |
Valid Palindrome |
js |
|
| 127 |
Word Ladder |
js |
|
| 129 |
Sum Root to Leaf Numbers |
js |
|
| 130 |
Surrounded Regions |
js |
|
| 131 |
Palindrome partitioning |
js |
|
| 136 |
Single Number |
js |
|
| 137 |
Single Number II |
js |
|
| 138 |
Copy List with Random Pointer |
js |
|
| 139 |
Word Break |
js |
|
| 140 |
Word Break II |
js |
|
| 141 |
Linked List Cycle |
js |
|
| 142 |
Linked List Cycle II |
js |
|
| 143 |
Reorder List |
js |
|
| 144 |
Binary Tree Preorder Traversal |
js |
|
| 145 |
Binary Tree Postorder Traversal |
js |
|
| 146 |
LRU Cache |
js |
|
| 147 |
Insertion Sort List |
js |
|
| 150 |
Evaluate Reverse Polish Notation |
js |
|
| 160 |
Intersection of Two Linked Lists |
js |
|