Leetcode-Solutions
Problems
- 1. Two Sum
- 2. Add Two Numbers
- 3. Longest Substring Without Repeating Characters
- 6. Zigzag Conversion
- 11. Container With Most Water
- 12. Integer to Roman
- 13. Roman to Integer
- 14. Longest Common Prefix
- 15. 3Sum
- 26. Remove Duplicates from Sorted Array
- 27. Remove Element
- 28. Find the Index of the First Occurrence in a String
- 30. Substring with Concatenation of All Words
- 33. Search in Rotated Sorted Array
- 36. Valid Sudoku
- 45. Jump Game II
- 48. Rotate Image
- 54. Spiral Matrix
- 55. Jump Game
- 56. Merge Intervals
- 57. Insert Intervals
- 58. Length of Last Word
- 71. Simplify Path
- 73. Set Matrix Zeroes
- 76. Minimum Window Substring
- 80. Remove Duplicates from Sorted Array
- 88. Merge Sorted Array
- 92. Reverse Linked List II
- 101. Symmetric Tree
- 104. Maximum Depth of Binary Tree
- 105. Construct Binary Tree from Preorder and Inorder Traversal
- 112. Path Sum
- 114. Flatten Binary Tree to Linked List
- 117. Populating Next Right Pointers in Each Node II
- 121. Best Time to Buy and Sell Stock
- 122. Best Time to Buy and Sell Stock II
- 124. Binary Tree Maximum Path Sum
- 125. Valid Palindrome
- 128. Longest Consecutive Sequence
- 141. Linked List Cycle
- 146. LRU Cache
- 153. Find Minimum in Rotated Sorted Array
- 155. Min Stack
- 167. Two Sum II - Input Array Is Sorted
- 169. Majority Element
- 189. Rotate Array
- 205. Isomorphic Strings
- 209. Minimum Size Subarray Sum
- 226. Invert Binary Tree
- 289. Game of Life
- 383. Ransom Note
- 392. Is Subsequence
- 452. Minimum Number of Arrows to Burst Balloons
- 1768. Merge Strings Alternately
- 2825. Make String a Subsequence Using Cyclic Increments