Skip to content

Conversation

ghost
Copy link

@ghost ghost commented Jul 19, 2021

The second test fails if the radix sort algorithm is implemented correctly, because it uses Array.prototype.sort(), the default behavior of which is to treat input as strings. A compare function must be supplied to sort numbers correctly.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants