Given a 2-D array Z, return its unique rows: duplicate rows removed, with the remaining rows sorted.
Z
Sign in to write and run your own code.
solve(...)