/GeeksforGeeks-Array-Sheet

This repository contains coding solutions of Top 50 Array Coding Problems for Interviews of GeeksforGeeks.

Primary LanguageC++

TOP 50 Array Coding Problems for Interviews

Level 1

  1. Peak Element - https://practice.geeksforgeeks.org/problems/peak-element/1
  2. Find the minimum and maximum element in an array - https://practice.geeksforgeeks.org/problems/find-minimum-and-maximum-element-in-an-array4428/1
  3. Write a program to reverse the array - https://practice.geeksforgeeks.org/problems/reverse-an-array/0
  4. Write a program to sort the given array - https://practice.geeksforgeeks.org/problems/sort-the-array0055/1
  5. Find the Kth largest and Kth smallest number in an array - https://practice.geeksforgeeks.org/problems/kth-smallest-element5635/1
  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 - https://practice.geeksforgeeks.org/problems/union-of-two-arrays3538/1

Level 2

  1. Write a program to cyclically rotate an array -
  2. Find the Missing Number - https://practice.geeksforgeeks.org/problems/missing-number-in-array1416/1