Project contains solution code of different types of problems/Algorithms used is problem solvings.
- Sort an array of 0s, 1s and 2s
- Find Missing And Repeating
- Merge 2 Array Without Extra Space
- Kadane's Algorithm
- Move all the negative elements to one side of the array
- Cyclically rotate an array by one
- Min Max
- Minimize the Heights II
- Minimum number of jumps
- Union of two arrays
- Find the Duplicate Number
- Count pairs with given sum
- Maximum Product Subarray
- Array subset of another Array
- Best time to buy and sell Stock
- Common Element In Three Array
- Count Inversion
- Count More Than N by K Occurences
- Factorials Of Large Numbers
- Find The Median
- kth Smallest Element
- Longest Consecutive Subsequence
- Maximum Product Subarray
- Maximum Profit by Buying Selling Share At Most Twice
- Median Of Two Sorted Arrays Of Diffirent Size
- Merge Intervals
- Minimum Number Of Jumps
- Minimum Swaps And K Together
- Pair Equals To Sum
- Palindromic Array
- Rearrange Array In Alternating Positive Negative Items
- Smallest Subarray With Sum Greater Than X
- Subarray with Zero Sum
- Three Way Partitioning
- Triplet Sum in Array
- Set Matrix to 0's
- Pascal's Triangle
- Majority Element (N by 2 times)
- Count Inversion
- Best Time to Buy and Sell Stock
- Rotate 2D Matrix
- Search in a 2D matrix
- Pow(n)
- Majority Element (N by 3 times)
- Unique Grid Paths
- Common Elements In All Rows Of a Matrix
- kth Smallest Element In Matrix
- Median In A Row Wise Sorted Matrix
- Rotate Matrix By 90 Degree
- Row With Max 1s
- Search In A 2D Matrix
- Sort Matrix
- Spirally Traversing Matrix
- Reverse a String
- Palindrome String
- check if strings are rotations of each other or not
- Valid Shuffle
- Reverse Words in a String
- Longest Palindrome in a String
- Roman Number to Integer and vice versa
- Implement stringtoInteger(ATOI)
- implement strStr()
- Longest Common Prefix
- Repeated String Match
- Subset Sums
- Subset-II
- Combination sum-I
- Combination sum-II
- Pallindrome Partitioning
- K-th permutation Sequence
- Reverse A LinkedList
- Find Middle Of The LinkedList
- Merge Two Sorted LinkedLists(Using Extra Space)
- Merge Two Sorted LinkedLists(Inplace)
- Remove Nth Node From End Of List
- Remove Nth Node From End OfList(Optimal)
- Delete Given Node in a LinkedList
- Add Two Numbers as LinkedList
- Find Intersection Point Of Two LinkedLists
- Linked List Cycle Detect
- Linked List Cycle Detect-II
- Palindrome LinkedList
- Flattening of a LinkedList
- Rotate a LinkedList for K times
- Clone a Linked List with random and next pointer
- Trapping rainwater
- EKO -SPOJ
- Product Array Puzzle
- Allocate Minimum Number Of Pages
- Arithmetic Number
- Bishu And Soldiers
- Count Squares
- Count Triplets With Sum Smaller Than X
- Find Missing And Repeating
- Find Pair Given Difference
- FirstAnd Last Occurrenc Of x
- Four Sum
- k-th Element Of Two Sorted Arrays
- Majority Element
- Merge Without Extra Space
- Middle Of Three
- Minimum Swaps To Sort
- Roti Paratha Problem SPOJ
- Search In Rotated Sorted Array
- Smallest Factorial Number
- Sort By Set Bit Count
- Stickler Thief
- Value Equal To Index Value
- Zero Sum Subarrays