Hello Folks,
We Believe that Coding is a thing which requires practice on a daily basis💻💻.
We at,
Devnicks had started a plethora of programming questions to help you all. so that you can stay consistent towards Programming.
TOPIC - 1
ARRAYS
0. Reverse an Array **
1. Find the maximum and minimum element in an array
2. Find the "Kth" max and min element of an array
3. Given an array which consists of only 0, 1 and 2. Sort the array without using any sorting algorithm
4. Move all the negative elements to one side of the array
5. Find the Union and Intersection of the two sorted arrays.
6. Write a program to cyclically rotate an array by one.
7. find Largest sum contiguous Subarray
8. Minimise the maximum difference between heights
9. Minimum no. of Jumps to reach end of an array
10. find duplicate in an array of N+1 Integers
11. Merge 2 sorted arrays without using Extra space.
12. Kadane's Algo
13. Merge Intervals
14. Next Permutation
15. Count Inversion
16. Best time to buy and Sell stock
17. find all pairs on integer array whose sum is equal to given number
18. find common elements In 3 sorted arrays
19. Rearrange the array in alternating positive and negative items with O(1) extra space
20. Find if there is any subarray with sum equal to 0
21. Find factorial of a large number
22. find maximum product subarray
23.Find longest consecutive subsequence
24.iven an array of size n and a number k, fin all elements that appear more than " n/k " times.
25.Maximum profit by buying and selling a share at-most twice
26. Find whether an array is a subset of another array
27. Find the triplet that sum to a given value
28. Trapping Rain water problem
29.Chocolate Distribution problem
30.Smallest Subarray with sum greater than a given value
31.Three way partitioning of an array around a given value
32. Minimum swaps required bring elements less equal K together
33. Minimum no. of operations required to make an array palindrome
34. Median of 2 sorted arrays of equal size
35. Median of 2 sorted arrays of different size
TOPIC - 2
MATRIX
1. Spiral traversal on a Matrix
2. Find a specific pair in matrix
3. Find median in a row wise sorted matrix
4. Find row with maximum no. of 1's
5. Print elements in sorted order using row-column wise sorted matrix
6. Maximum size rectangle
7. Search an element in a matrix
8. Rotate matrix by 90 degrees
9. Kth smallest element in a row-column wise sorted matrix
10. Common elements in all rows of a given matrix
Note - Questions in red are most Important ones and asked many times.
** If having any sort of problems while Solving do let us know in the Comments Section Below**
ONLINE COMPILER ---
Link to Part-2 : Take me to Part-2
Link to Part-3 : Take me to Part -3
0 Comments