Return array a reversed (first element becomes last).
a
Sign in to write and run your own code.
solve(...)