Skip to content

This is an attempt to solve 450 questions carefully curated by Love Babbar.

Notifications You must be signed in to change notification settings

arun007chauhan/DSA-CRACKER

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 

Repository files navigation

DSA-CRACKER

LOC Stars Badge Forks Badge GitHub contributors

If you appreciate my work, please star this repository. It motivates me. 🚀 🚀

Hello, folks!

This is an attempt to solve 450 questions carefully curated by our very own Love Babbar.

Arrays

# Title Solution Time Space Difficulty Note
1 Reverse an Array - - - -
2 Find the maximum and minimum element in an array - - - -
3 Find the "Kth" max and min element of an array - - - -
4 Given an array which consists of only 0, 1 and 2. Sort the array without using any sorting algo - - - -
5 Move all the negative elements to one side of the array - - - -
6 Find the Union and Intersection of the two sorted arrays. - - - -
7 Write a program to cyclically rotate an array by one. - - - -
8 find Largest sum contiguous Subarray V. IMP - - - -
9 Minimise the maximum difference between heights V.IMP - - - Revisit
10 Minimum no. of Jumps to reach end of an array - - - Revisit
11 find duplicate in an array of N+1 Integers - - - -
12 Merge 2 sorted arrays without using Extra space. - - - Revisit
13 Kadane's Algo [V.V.V.V.V IMP] - - - -
14 Merge Intervals - - - -
15 Next Permutation - - - -
16 Count Inversion - - - XXXX
17 Best time to buy and Sell stock - - - Pending variations
18 find all pairs on integer array whose sum is equal to given number - - - -
19 find common elements In 3 sorted arrays - - - -
20 Rearrange the array in alternating positive and negative items with O(1) extra space - - - -
21 Find if there is any subarray with sum equal to 0 - - - -
22 Find factorial of a large number - - -
23 find maximum product subarray - - - -
24 Find longest coinsecutive subsequence - - - -
25 Given an array of size n and a number k, fin all elements that appear more than " n/k " times. - - - XXXX
26 Maximum profit by buying and selling a share atmost twice - - - -
27 Find whether an array is a subset of another array - - -
28 Find the triplet that sum to a given value - - - -
29 Trapping Rain water problem - - - Revisit
30 Chocolate Distribution problem - - - -
31 Smallest Subarray with sum greater than a given value - - - XXXX
32 Three way partitioning of an array around a given value - - -
33 Minimum swaps required bring elements less equal K together - - - -
34 Minimum no. of operations required to make an array palindrome - - - -
35 Median of 2 sorted arrays of equal size - - - Revisit
36 Median of 2 sorted arrays of different size - - - XXXX
37 Spiral traversal on a Matrix - - -
38 Search an element in a matriix - - - -
39 Find median in a row wise sorted matrix - - - Revisit
40 Find row with maximum no. of 1's - - - -

You can find me on LinkedIn to stay updated and follow along with my journey.

About

This is an attempt to solve 450 questions carefully curated by Love Babbar.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 100.0%