Darren New wrote:
> Heck, for that matter anything returning a zero-length array would pass.
> OK, to be *comprehensive*, you would have to add that the result is a
> permutation of the original. You could do this by counting how many
> times each original value occurs in the list and making sure it occurs
> in the result the same number of times.
Let's hope Warp doesn't ask us to test for a *stable* sort...
Post a reply to this message
|