Create an Array of size 10 of integers. Take input from the user for these 10 elements and print the entire array after that
2.
Check whether n is present in an array of size m or not
3.
Find the minimum and maximum element in an array
4.
Write a program to reverse the array.
5.
Write a program to sort the given array.
6.
Find the Kth largest and Kth smallest number in an array
7.
Given an number n. Find the number of occurrences of n in the array.
8.
Given an array which consists of only 0, 1 and 2. Sort the array without using any sorting algorithm.
9.
Find the range of the array. Range means the difference between the maximum and minimum element in the array
10.
Move all the negative elements to one side of the array
โญ
Intermediate_Problems
S.no
Question
Rating
1.
Find the Union and Intersection of the two sorted arrays.
2.
Write a program to cyclically rotate an array by one.
3.
You are given a list of n-1 integers and these integers are in the range of 1 to n. There are no duplicates in the list. One of the integers is missing in the list. Write an efficient code to find the missing integer.
4.
Find all pairs on integer array whose sum is equal to given number
5.
Find the Duplicate in an Array
6.
Sort an Array using Quicksort algorithm.
7.
Find the first repeating element in an array of integers
8.
Find common elements in three sorted arrays
9.
Find the first repeating element in an array of integers
10.
Given an array with all distinct elements, find the largest three elements. Expected time complexity is O(n) and extra space is O(1)
11.
Rearrange the array in alternating positive and negative items with O(1) extra space