Given two integers N and X, the task is to find an output array arr[] containing distinct integers of length N such that their average… Read More
The post Generate N sized Array with mean K and minimum difference between min and max appeared first on GeeksforGeeks.