Return, for the 1-D array x, the index (into x) of the first occurrence of each unique value, ordered by ascending value.
x
Sign in to write and run your own code.
solve(...)