Skip to content

Radix Sort test case issue #20

@kayac-chang

Description

@kayac-chang

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));

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions