Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Radix Sort test case issue #20

Open
kayac-chang opened this issue Jul 19, 2021 · 0 comments
Open

Radix Sort test case issue #20

kayac-chang opened this issue Jul 19, 2021 · 0 comments

Comments

@kayac-chang
Copy link

Hello, teacher @btholt

I figure out the test case of Radix Sort on CodeSandBox

which using sort method without passing compareFunction,
this will using char compare instead of number compare.

Maybe this should be fixed by

expect(ans).toEqual(nums.sort((a, b) => a - b));
icedjello pushed a commit to icedjello/complete-intro-to-computer-science that referenced this issue Feb 9, 2024
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

No branches or pull requests

1 participant