AlgorithmsSortingEdit on GitHubEdit history
American Flag Sort
1993
An MSD radix sort that counts digit frequencies to fix the bucket boundaries and then moves elements into their buckets in place by cyclic swaps, without an auxiliary array.
Origin
Lineage
Parent algorithms
Author statementThe paper says American flag sort was conceived as a replacement for the existing two-array radix sort library routine. — static.usenix.org/publications/compsystems/1993/win_mcilroy.pdf
Author statementBy analogy with the three-way Dutch national flag problem, the paper calls the general many-way problem the American flag problem. — static.usenix.org/publications/compsystems/1993/win_mcilroy.pdf
Notable implementations
No implementations registered yet. Try a repo scan to find some. Repo scan
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…