THESE ARE THE SEVERAL QUESTIONS BASED ON C++
-
Find the smallest and second smallest elements in an array.
-
Find median in a stream of integers (running integers).
-
Write a program to print all the LEADERS in the array.
-
Program to print following pattern (Butterfly Patter).
-
Union and Intersection of two sorted arrays.
-
Program for array rotation.
-
Two elements whose sum is closest to zero.
-
Find duplicates in O(n) time and O(1) extra space.
-
Find the minimum distance between two numbers.