Author: faizanurrahman
My Javascript Code for LeetCode. Feel free to use and contribute.
| # | Title | Difficulty | Solution |
|---|---|---|---|
| 1 | Two Sum | Easy | Solution |
| 19 | Remove Nth Node From End of List | Medium | Solution |
| 20 | Valid Parentheses | Easy | Solution |
| 21 | Merge Two Sorted Lists | Easy | Solution |
| 36 | Valid Sudoku | Medium | Solution |
| 45 | Jump Game II | Medium | Solution |
| 55 | Jump Game | Medium | Solution |
| 74 | Search a 2D Matrix | Medium | Solution |
| 75 | Sort Colors | Medium | Solution |
| 83 | Remove Duplicates from Sorted List | Easy | Solution |
| 94 | Binary Tree Inorder Traversal | Easy | Solution |
| 101 | Symmetric Tree | Easy | Solution |
| 104 | Maximum Depth of Binary Tree | Easy | Solution |
| 118 | Pascal's Triangle | Easy | Solution |
| 144 | Binary Tree Preorder Traversal | Easy | Solution |
| 145 | Binary Tree Postorder Traversal | Easy | Solution |
| 151 | Reverse Words in a String | Medium | Solution |
| 153 | Find Minimum in Rotated Sorted Array | Medium | Solution |
| 167 | Two Sum II - Input array is sorted | Easy | Solution |
| 202 | Happy Number | Easy | Solution |
| 203 | Remove Linked List Elements | Easy | Solution |
| 206 | Reverse Linked List | Easy | Solution |
| 226 | Invert Binary Tree | Easy | Solution |
| 232 | Implement Queue using Stacks | Easy | Solution |
| 238 | Product of Array Except Self | Medium | Solution |
| 283 | Move Zeroes | Easy | Solution |
| 344 | Reverse String | Easy | Solution |
| 380 | Insert Delete GetRandom O(1) | Medium | Solution |
| 383 | Ransom Note | Easy | Solution |
| 387 | First Unique Character in a String | Easy | Solution |
| 451 | Sort Characters By Frequency | Medium | Solution |
| 496 | Next Greater Element I | Easy | Solution |
| 700 | Search in a Binary Search Tree | Easy | Solution |
| 876 | Middle of the Linked List | Easy | Solution |