This repository contains my solved LeetCode problems.
Each problem is organized as problem_<number>.
- 1. Two Sum →
problem_1 - 11. Container With Most Water →
problem_11 - 14. Longest Common Prefix →
problem_14 - 16. 3Sum Closest →
problem_16 - 26. Remove Duplicates from Sorted Array →
problem_26 - 27. Remove Element →
problem_27 - 28. Find the Index of the First Occurrence in a String →
problem_28 - 33. Search in Rotated Sorted Array →
problem_33 - 34. Find First and Last Position of Element in Sorted Array →
problem_34 - 35. Search Insert Position →
problem_35 - 55. Jump Game →
problem_55 - 58. Length of Last Word →
problem_58 - 66. Plus One →
problem_66 - 67. Add Binary →
problem_67 - 69. Sqrt(x) →
problem_69 - 70. Climbing Stairs →
problem_70 - 88. Merge Sorted Array →
problem_88
- 2. Add Two Numbers →
problem_2 - 21. Merge Two Sorted Lists →
problem_21 - 23. Merge k Sorted Lists →
problem_23 - 24. Swap Nodes in Pairs →
problem_24 - 25. Reverse Nodes in k-Group →
problem_25 - 83. Remove Duplicates from Sorted List →
problem_83 - 141. Linked List Cycle →
problem_141
- 3. Longest Substring Without Repeating Characters →
problem_3 - 4. Median of Two Sorted Arrays →
problem_4 - 5. Longest Palindromic Substring →
problem_5 - 6. Zigzag Conversion →
problem_6 - 7. Reverse Integer →
problem_7 - 8. String to Integer (atoi) →
problem_8 - 9. Palindrome Number →
problem_9 - 10. Regular Expression Matching →
problem_10 - 12. Integer to Roman →
problem_12 - 13. Roman to Integer →
problem_13 - 15. 3Sum →
problem_15 - 17. Letter Combinations of a Phone Number →
problem_17 - 18. 4Sum →
problem_18 - 19. Remove Nth Node From End of List →
problem_19 - 22. Generate Parentheses →
problem_22 - 29. Divide Two Integers →
problem_29
- 94. Binary Tree Inorder Traversal →
problem_94 - 100. Same Tree →
problem_100 - 101. Symmetric Tree →
problem_101 - 104. Maximum Depth of Binary Tree →
problem_104 - 108. Convert Sorted Array to Binary Search Tree →
problem_108 - 111. Minimum Depth of Binary Tree →
problem_111 - 144. Binary Tree Preorder Traversal →
problem_144 - 145. Binary Tree Postorder Traversal →
problem_145
- 167. Two Sum II - Input Array Is Sorted →
problem_167
- ✅ Total solved: 50
- 🏆 Categories covered: Arrays, Strings, Linked List, Binary Trees, Binary Search, Math, DP