logoalt Hacker News

defrosttoday at 2:28 AM1 replyview on HN

More seriously,

> You need a way to differentiate the two 5s

As there's no unique filtering or other reduction going on here, there's a permutation chain from input to output.


Replies

Jtsummerstoday at 3:15 AM

But that's not in the specification given above. That specification is entirely wrong to specify SORT. It requires no duplicates survive the sorting process.