gumgum's Garden🌼

Array

Arrays

Questions Status
Find the Union done✅
Find the number that appears once and others twice done✅
Longest subarray with given sum K done✅
2 Sum problem todo🖋
Sort an array or 0's 1's 2's todo🖋
Majority Element todo🖋
Kadanes Algorithm todo🖋
Print subarray with maximum subarray sum todo🖋
Stock Buy and Sell todo🖋
Rearrange the array in alternating positive and negative items todo🖋
Next Permutation todo🖋
Leaders in an array problem todo🖋
Longest Consecutive Sequence in an Array todo🖋
Set Matrix Zeroes todo🖋
Rotate Matrix by 90degrees todo🖋
Print the matrix in spiral manner todo🖋
Count subarrays with give sum todo🖋
Questions Status
Pascals Triangle todo🖋
3Sum Problem todo🖋
4Sum Problem todo🖋
Largest Subarray with zero sum todo🖋
Count number of subarray with given xor K todo🖋
Merge Overlapping Intervals todo🖋
Merge two arrays without extra space todo🖋
Finding the repeating and missing number todo🖋
Count Inversions todo🖋
Reverse Pairs todo🖋
Maximum Product Subarray todo🖋