Skip to content

Latest commit

 

History

History
19 lines (10 loc) · 521 Bytes

README.md

File metadata and controls

19 lines (10 loc) · 521 Bytes

THESE ARE THE SEVERAL QUESTIONS BASED ON C++

  1. Find the smallest and second smallest elements in an array.

  2. Find median in a stream of integers (running integers).

  3. Write a program to print all the LEADERS in the array.

  4. Program to print following pattern (Butterfly Patter).

  5. Union and Intersection of two sorted arrays.

  6. Program for array rotation.

  7. Two elements whose sum is closest to zero.

  8. Find duplicates in O(n) time and O(1) extra space.

  9. Find the minimum distance between two numbers.