Algorithms project will contain some commonly asked/used data structure solutions to help other understand and use them in the simplest and most elegant ways.
This repository is contribution friendly 😃. If you'd like to add or improve an algorithm, your contribution is welcome!
Please be sure to check out the Wiki for instructions.
- Count Inversions
- Find Duplicate
- Kadane
- Find Kth Smallest
- K Smallest Together
- Median of Two Sorted array
- Merge Intervals
- Merge Sorted Array
- Next permutation
- Quick Sort
- Bus Routes
- Triplet Sum
- Search in rotated array
- Alternate Maximum sum
- Boolean Parentheses
- Buy Sell Stock K times
- Buy Sell Stock twice
- Max Rectangle Sum
- Max Rectangle with zero-sum
- Gold Mine
- Coin change
- Max matches between elements
- Maximum profit job scheduling
- Maximum Sum Increasing Subsequence
- Constrained Subsequence Sum