I have an array of a few million numbers.
double* const data = new double (3600000);
I need to iterate through the array and find the range (th
The algorithm should be O(n) since the delete and insertion is bounded by log(1e3) and everything else takes constant time.