complete-intro-to-computer-science
complete-intro-to-computer-science copied to clipboard
Radix Sort test case issue
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));