Problem 2122 · Hard

Recover the Original Array

Recover an array whose values produced the shuffled lower and higher observations.

Open the interactive visualisation