This repository contains Python, Java and C++ solutions to LeetCode questions.
| Number | Title |
|---|---|
| 1 | Two Sum |
| 9 | Palindrome Number |
| 13 | Roman to Integer |
| 14 | Longest Common Prefix |
| 20 | Valid Parentheses |
| 21 | Merge Two Sorted Lists |
| 26 | Remove Duplicates from Sorted Array |
| 27 | Remove Element |
| 28 | Implement strStr() |
| 35 | Search Insert Position |
| 58 | Length of Last Word |
| 66 | Plus One |
| 69 | Sqrt(x) |
| 83 | Remove Duplicates from Sorted List |
| 94 | Binary Tree Inorder Traversal |
| 100 | Same Tree |
| 104 | Maximum Depth of Binary Tree |
| 118 | Pascal's Triangle |
| 119 | Pascal's Triangle II |
| 125 | Valid Palindrome |
| 136 | Single Number |
| 141 | Linked List Cycle |
| 144 | Binary Tree Preorder Traversal |
| 160 | Intersection of Two Linked Lists |
| 169 | Majority Element |
| 171 | Excel Sheet Column Number |
| 206 | Reverse Linked List |
| 234 | Palindrome Linked List |
| 242 | Valid Anagram |
| 258 | Add Digits |
| 338 | Counting Bits |
| 344 | Reverse String |
| 389 | Find the Difference |
| 392 | Is Subsequence |
| 680 | Valid Palindrome II |
| 700 | Search in a Binary Search Tree |
| 703 | Kth Largest Element in a Stream |
| 897 | Increasing Order Search Tree |
| 941 | Valid Mountain Array |
| 1337 | The K Weakest Rows in a Matrix |
| 1480 | Running Sum of 1d Array |
| 1672 | Richest Customer Wealth |
| Number | Title |
|---|---|
| 2 | Add Two Numbers |
| 3 | Longest Substring Without Repeating Characters |
| 5 | Longest Palindromic Substring |
| 11 | Container With Most Water |
| 15 | 3Sum |
| 17 | Letter Combinations of a Phone Number |
| 19 | Remove Nth Node From End of List |
| 22 | Generate Parentheses |
| 24 | Swap Nodes in Pairs |
| 33 | Search in Rotated Sorted Array |
| 39 | Combination Sum |
| 59 | Spiral Matrix II |
| 78 | Subsets |
| 99 | Recover Binary Search Tree |
| 102 | Binary Tree Level Order Traversal |
| 133 | Clone Graph |
| 134 | Gas Station |
| 142 | Linked List Cycle II |
| 148 | Sort List |
| 165 | Compare Version Numbers |
| 167 | Two Sum II |
| 173 | Binary Search Tree Iterator |
| 199 | Binary Tree Right Side View |
| 230 | Kth Smallest Element in a BST |
| 402 | Remove K Digits |
| 413 | Arithmetic Slices |
| 456 | 132 Pattern |
| 560 | Subarray Sum Equals K |
| 581 | Shortest Unsorted Continuous Subarray |
| 669 | Trim a Binary Search Tree |
| 1209 | Remove All Adjacent Duplicates in String II |
| 1288 | Removed Covered Intervals |
| 1679 | Max Number of K-Sum Pairs |
| 1721 | Swapping Nodes in a Linked List |
| Number | Title |
|---|---|
| 23 | Merge k Sorted Lists |