DATA STRUCTURE-ARRAYS In this blog, we will discuss the best 36 questions of the array. Firstly we need to know, What is an array? Let's go into it and know about it. An array is a homogeneous collection of elements and stored sequentially in memory. An array is a data structure that holds a similar type of element. QUESTIONS Q1. Reverse the array. Q2. Find the maximum and minimum elements in an array. Q3. Find the "Kth" max and min element of an array. Q4. Write a program to cyclically rotate an array by one. Q5. Find the union and intersection of two sorted arrays. Q6. Move all the negatives elements to one side of the array. Q7. find Largest sum contiguous Subarray. Q8. Minimize the maximum difference between heights. Q9. Minimum no. of Jumps to reach the end of an array. Q10. find duplicate in an array of N+1 Integers Q11. Merge Intervals Q12. Next Permutation Q13. Count Inversion Q14. Merge 2 sorted arrays without using Extra spa...
A place for learners and programmers