Return the n largest values of array Z, sorted ascending.
n
Z
Sign in to write and run your own code.
solve(...)