Cpp-programs

INTERVIEW QUESTION

This folder will consists of questions that has been asked in Interviews.

Sno Question Solution link Similar Question
1 A set of a set of points over a straight line is defined as correlative to some k if the absoute difference between any two point is multiple of k given n (2<=n=100000) points and some integer k (1<=k=1000) your task to find the largest set exists. n and k will be in first line of the input n line will follow each one single integer representing the location of the one point which is correlated to k in the first line of input remaing line will contain the points of the set one per line in increasing order Soln1 link1
  DXC INTERVIEW    
2 Sort Array in order of its frequency Soln1 link1