- Sort an array of 0’s 1’s 2’s without using extra space or sorting algo - Cpp Soultion
- Repeat and Missing Number - Cpp Soultion
- Merge two sorted Arrays without extra space - Cpp Soultion
- Kadane’s Algorithm - Cpp Soultion
- Merge Overlapping Subintervals - Cpp Soultion
- Find the duplicate in an array of N+1 integers - Cpp Soultion
- Set Matrix Zeroes - Cpp Soultion
- Pascal's Triangle - Cpp Soultion
- Next Permutation - Cpp Soultion
- Count Inversions in an array - Cpp Soultion
- Best Time to Buy and Sell Stock - Cpp Soultion
- Rotate Image - Cpp Soultion
- Search a 2D Matrix - Cpp Soultion
- Pow(x, n) - Cpp Soultion
- Majority Element - Cpp Soultion
- Majority Element II - Cpp Soultion
- Unique Paths - Cpp Soultion
- Reverse Pairs - Cpp Soultion
- Two Sum - Cpp Soultion
- 4Sum - Cpp Soultion
- Longest Consecutive Sequence - Cpp Soultion
- Largest subarray with 0 sum - Cpp Soultion
- Count the number of subarrays having a given XOR
- Longest Substring Without Repeating Characters - Cpp Soultion
- Reverse Linked List - Cpp Soultion
- Middle of the Linked List - Cpp Soultion
- Merge Two Sorted Lists - Cpp Soultion
- Remove Nth Node From End of List - Cpp Soultion
- Delete Node in a Linked List - Cpp Soultion
- Add Two Numbers - Cpp Soultion
- Intersection of Two Linked Lists - Cpp Soultion
- Linked List Cycle - Cpp Soultion
- Reverse Nodes in k-Group - Cpp Soultion
- Palindrome Linked List - Cpp Soultion
- Linked List Cycle II - Cpp Soultion
- Flattening a Linked List - Cpp Soultion
- Rotate List - Cpp Soultion
- Copy List with Random Pointer - Cpp Soultion
- 3Sum - Cpp Soultion
- Trapping Rain Water - Cpp Soultion
- Remove Duplicates from Sorted Array - Cpp Soultion
- Max Consecutive Ones - Cpp Soultion
- N meetings in one room - Cpp Soultion
- Minimum Platforms - Cpp Soultion
- Job Sequencing Problem - Cpp Soultion
- Fractional Knapsack - Cpp Soultion
- Greedy Algorithm to find Minimum number of Coins
- Subset Sums - Cpp Soultion
- Subsets II - Cpp Soultion
- Combination Sum - Cpp Soultion
- Combination Sum II - Cpp Soultion
- Palindrome Partitioning - Cpp Soultion
- Permutation Sequence - Cpp Soultion
- Permutations - Cpp Soultion
- N-Queens - Cpp Soultion
- Sudoku Solver - Cpp Soultion
- m Coloring Problem
- Rat in a Maze - Cpp Soultion
- Word Break - Cpp Soultion
- Calculating n-th real root using binary search
- Median in a row-wise sorted Matrix - Cpp Soultion
- Single Element in a Sorted Array - Cpp Soultion
- Search in Rotated Sorted Array - Cpp Soultion
- Median of Two Sorted Arrays - Cpp Soultion
- K-th Element of Two Sorted Arrays
- Power of Two - Cpp Soultion
- Counting Bits - Cpp Soultion
- Divide two integers without using multiplication, division and mod operator
- Subsets - Cpp Soultion
- Find MSB In O(1) - Cpp Soultion
- Calculate square of a number without using *, / and pow()
- Implement stack using array - Cpp Soultion
- Implement Queue using array - Cpp Soultion
- Implement Stack using Linked List - Cpp Soultion
- Implement Queue using Linked List - Cpp Soultion
- BFS of graph - Cpp Soultion
- Implement Stack using Queues - Cpp Soultion
- Implement Queue using Stacks - Cpp Soultion
- Valid Parentheses - Cpp Soultion
- Next Greater Element - Cpp Soultion
- Nearest Smaller Element - Cpp Soultion
- LRU Cache - Cpp Soultion
- Largest Rectangle in Histogram - Cpp Soultion
- Sliding Window Maximum - Cpp Soultion
- Min Stack - Cpp Soultion
- Rotting Oranges - Cpp Soultion