Skip to content
Related Articles

Related Articles

Top 50 Array Coding Problems for Interviews

View Discussion
Improve Article
Save Article
  • Difficulty Level : Medium
  • Last Updated : 04 Jul, 2022
View Discussion
Improve Article
Save Article

Here is the collection of the Top 50 list of frequently asked interviews question on arrays. Problems in this Article is divided into three Levels so that readers can practice according to the difficulty level step by step. 



Level 1

  1. Peak Element
  2. Find the minimum and maximum element in an array
  3. Write a program to reverse the array
  4. Write a program to sort the given array
  5. Find the Kth largest and Kth smallest number in an array
  6. Find the occurrence of an integer in the array
  7. Sort the array of 0s, 1s, and 2s
  8. Subarray with given Sum
  9. Move all the negative elements to one side of the array
  10. Find the Union and Intersection of the two sorted arrays


Level 2

  1. Write a program to cyclically rotate an array by one
  2. Find the missing integer
  3. Count Pairs with given sum
  4. Find duplicates in an array
  5. Sort an Array using the Quicksort algorithm
  6. Find common elements in three sorted arrays
  7. Find the first repeating element in an array of integers
  8. Find the first non-repeating element in a given array of integers
  9. Subarrays with equal 1s and 0s
  10. Rearrange the array in alternating positive and negative items
  11. Find if there is any subarray with a sum equal to zero
  12. Find the Largest sum contiguous Subarray
  13. Find the factorial of a large number
  14. Find Maximum Product Subarray
  15. Find the longest consecutive subsequence
  16. Find the minimum element in a rotated and sorted array
  17. Max sum in the configuration
  18. Minimum Platforms
  19. Minimize the maximum difference between the heights
  20. Minimum number of jumps to reach the end
  21. Stock Span problem
  22. Find a triplet that sums to a given value
  23. Smallest positive missing number
  24. Find the row with a maximum number of 1’s
  25. Print the matrix in a Spiral manner
  26. Find whether an array is a subset of another array
  27. Implement two Stacks in an array
  28. Majority Element
  29. Wave Array
  30. Trapping Rainwater

Level 3

  1. Maximum Index
  2. Max sum path in two arrays
  3. Find Missing And Repeating
  4. Stock buy and sell Problem
  5. Pair with the given sum in a sorted array
  6. Chocolate Distribution Problem
  7. Partition Equal Subset Sum
  8. Smallest Positive integer that can’t be represented as a sum
  9. Coin Change Problem
  10. Longest Alternating subsequence

Complete Interview Preparation - GFG

Related Articles:

Top 50 String Coding Problems for Interviews

Top 50 Tree Coding Problems for Interviews

Top 50 Dynamic Programming Coding Problems for Interviews

My Personal Notes arrow_drop_up
Recommended Articles
Page :

Start Your Coding Journey Now!