In this repo I included all of the ALGO and DS problems and thier solutions I have ever practiced.
76 / 76
- Two Sum
- Best Time to Buy and Sell Stock
- Contains Duplicate
- Product of Array Except Self
- Maximum Subarray
- Maximum Product Subarray
- Find Minimum in Rotated Sorted Array
- Search in Rotated Sorted Array
- Container With Most Water
- Minimum Absolute Difference
- Number of Arithmetic Triplets
- Shifting Letters II
- Image Overlap
- Climbing Stairs
- Coin Change
- Longest Increasing Subsequence
- Longest Common Subsequence
- Word Break Problem
- Combination Sum
- House Robber
- House Robber II
- Decode Ways
- Unique Paths
- Jump Game
- Stone Game
- Longest Ideal Subsequence
- Edit Distance
- Delete Operation for Two Strings
- Minimum ASCII Delete Sum for Two Strings
- Paths in Matrix Whose Sum Is Divisible by K
- Increasing Triplet Subsequence
- Time Needed to Rearrange a Binary String
- Clone Graph
- Course Schedule
- Pacific Atlantic Water Flow
- Number of Islands
- Longest Consecutive Sequence
- Alien Dictionary (Leetcode Premium)
- Graph Valid Tree (Leetcode Premium)
- Number of Connected Components in an Undirected Graph (Leetcode Premium)
- Most Stones Removed with Same Row or Column
- Insert Interval
- Merge Intervals
- Non-overlapping Intervals
- Meeting Rooms (Leetcode Premium)
- Meeting Rooms II (Leetcode Premium)
- Minimum Number of Arrows to Burst Balloons
- Maximum Profit in Job Scheduling
- Erect the Fence
- Reverse a Linked List
- Detect Cycle in a Linked List
- Merge Two Sorted Lists
- Merge K Sorted Lists
- Remove Nth Node From End Of List
- Reorder List
- Longest Repeating Character Replacement
- Minimum Window Substring
- Valid Anagram
- Group Anagrams
- Valid Palindrome
- Longest Palindromic Substring
- Palindromic Substrings
- Encode and Decode Strings (Leetcode Premium)
- Optimal Partition of String
- Valid Parentheses
- Removing Stars From a String
- Using a Robot to Print the Lexicographically Smallest String
- Maximum Depth of Binary Tree
- Same Tree
- Invert/Flip Binary Tree
- Binary Tree Maximum Path Sum
- Binary Tree Level Order Traversal
- Serialize and Deserialize Binary Tree
- Subtree of Another Tree
- Construct Binary Tree from Preorder and Inorder Traversal
- Validate Binary Search Tree
- Kth Smallest Element in a BST
- Lowest Common Ancestor of BST
- Implement Trie (Prefix Tree)
- Add and Search Word
- Word Search II
- Reachable Nodes With Restrictions
- Permutations
- Subsets
- Subsets II
- Combinations
- Letter Case Permutation
- Generate Parentheses
- Letter Combinations of a Phone Number
- Split a String Into the Max Number of Unique Substrings
14 Patterns to Ace Any Coding Interview Question
- Minimum Window Substring
- Find All Anagrams in a String
- Longest Substring Without Repeating Characters
- Minimum Size Subarray Sum
- Permutation in String
- Find Smallest Letter Greater Than Target
- Find First and Last Position of Element in Sorted Array
- Search in a Sorted Array of Unknown Size
- Find Peak Element
- Kth Largest Element in an Array
- K Closest Points to Origin
- Minimum Cost to Connect Sticks
- Top K Frequent Elements
- Sort Characters By Frequency
- Flood Fill
- Path Sum
- Path Sum II
- Sum Root to Leaf Numbers
- Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
- Path Sum III
- Longest Palindromic Subsequence
- Binary Tree Level Order Traversal II
- Binary Tree Zigzag Level Order Traversal
- Average of Levels in Binary Tree
- Minimum Depth of Binary Tree
- Populating Next Right Pointers in Each Node
- Shortest Path in a Grid with Obstacles Elimination
- Nearest Exit from Entrance in Maze
