Solving Leetcode problems with TypeScript.
- 2. Add Two Numbers
Medium
- 17. Letter Combinations of a Phone Number
Medium
- 21. Merge Two Sorted Lists
Easy
- 23. Merge k Sorted Lists
Hard
- 24. Swap Nodes in Pairs
Medium
- 39. Combination Sum
Medium
- 40. Combination Sum II
Medium
- 70. Climbing Stairs
Easy
- 94. Binary Tree Inorder Traversal
Easy
- 98. Validate Binary Search Tree
Medium
- 99. Recover Binary Search Tree
Medium
- 100. Same Tree
Easy
- 101. Symmetric Tree
Easy
- 102. Binary Tree Level Order Traversal
Easy
- 104. Maximum Depth of Binary Tree
Easy
- 107. Binary Tree Level Order Traversal II
Medium
- 108. Convert Sorted Array to Binary Search Tree
Easy
- 110. Balanced Binary Tree
Easy
- 111. Minimum Depth of Binary Tree
Easy
- 112. Path Sum
Easy
- 113. Path Sum II
Medium
- 124. Binary Tree Maximum Path Sum
Hard
- 129. Sum Root to Leaf Numbers
Medium
- 133. Clone Graph
Medium
- 138. Copy List with Random Pointer
Medium
- 141. Linked List Cycle
Easy
- 142. Linked List Cycle II
Medium
- 144. Binary Tree Preorder Traversal
Easy
- 145. Binary Tree Postorder Traversal
Easy
- 147. Insertion Sort List
Medium
- 148. Sort List
Medium
- 153. Find Minimum in Rotated Sorted Array
Medium
- 154. Find Minimum in Rotated Sorted Array II
Hard
- 169. Majority Element
Easy
- 200. Number of Islands
Medium
- 206. Reverse Linked List
Easy
- 207. Course Schedule
Medium
- 210. Course Schedule II
Medium
- 230. Kth Smallest Element in a BST
Medium
- 234. Palindrome Linked List
Easy
- 235. Lowest Common Ancestor of a Binary Search Tree
Medium
- 236. Lowest Common Ancestor of a Binary Tree
Medium
- 257. Binary Tree Paths
Easy
- 297. Serialize and Deserialize Binary Tree
Hard
- 315. Count of Smaller Numbers After Self
Hard
- 337. House Robber III
Medium
- 380. Insert Delete GetRandom O(1)
Medium
- 399. Evaluate Division
Medium
- 429. N-ary Tree Level Order Traversal
Medium
- 449. Serialize and Deserialize BST
Medium
- 437. Path Sum III
Medium
- 445. Add Two Numbers II
Medium
- 450. Delete Node in a BST
Medium
- 463. Island Perimeter
Easy
- 496. Next Greater Element I
Easy
- 501. Find Mode in Binary Search Tree
Easy
- 508. Most Frequent Subtree Sum
Medium
- 530. Minimum Absolute Difference in BST
Easy
- 543. Diameter of Binary Tree
Easy
- 547. Number of Provinces
Medium
- 572. Subtree of Another Tree
Easy
- 589. N-ary Tree Preorder Traversal
Easy
- 590. N-ary Tree Postorder Traversal
Easy
- 623. Add One Row to Tree
Medium
- 669. Trim a Binary Search Tree
Medium
- 678. Valid Parenthesis String
Medium
- 687. Longest Univalue Path
Medium
- 695. Max Area of Island
Medium
- 700. Search in a Binary Search Tree
Easy
- 701. Insert into a Binary Search Tree
Medium
- 707. Design Linked List
Medium
- 713. Subarray Product Less Than K
Medium
- 721. Accounts Merge
Medium
- 725. Split Linked List in Parts
Medium
- 733. Flood Fill
Easy
- 785. Is Graph Bipartite?
Medium
- 802. Find Eventual Safe States
Medium
- 814. Binary Tree Pruning
Medium
- 827. Making A Large Island
Hard
- 834. Sum of Distances in Tree
Hard
- 839. Similar String Groups
Hard
- 841. Keys and Rooms
Medium
- 853. Car Fleet
Medium
- 872. Leaf-Similar Trees
Easy
- 901. Online Stock Span
Medium
- 907. Sum of Subarray Minimums
Medium
- 912. Sort An Array
Medium
- 952. Largest Component Size by Common Factor
Hard
- 965. Univalued Binary Tree
Easy
- 968. Binary Tree Cameras
Hard
- 979. Distribute Coins in Binary Tree
Medium
- 987. Vertical Order Traversal of a Binary Tree
Hard
- 988. Smallest String Starting From Leaf
Medium
- 990. Satisfiability of Equality Equations
Medium
- 1019. Next Greater Node In Linked List
Medium
- 1162. As Far from Land as Possible
Medium
- 1202. Smallest String With Swaps
Medium
- 1302. Deepest Leaves Sum
Medium
- 1325. Delete Leaves With a Given Value
Medium
- 1614. Maximum Nesting Depth of the Parentheses
- 2055. Plates Between Candles
Medium
- 2958. Length of Longest Subarray With at Most K Frequency
Medium
- 3127. Make a Square with the Same Color
Easy