Skip to content

00-prewritten_algorithms/counting_sort.cpp #1

@RaviBeagle

Description

@RaviBeagle

I think the algorithm does not work for simple positive range. It fails with this test case:

vector<int> A { 102, 120, 101, 103 , 101, 121, 160, 140 }; counting_sort(A, 100,200);

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