CISSAlgorithm origin & lineage registry

AlgorithmsSortingEdit on GitHubEdit history

Dutch National Flag Partitioning

Dutch national flag problem, Three-way partitioning1976

The problem of splitting an array holding three kinds of values into three regions in a single pass, and the partitioning algorithm that solves it. It is used for three-way partitioning in quicksort when many keys are equal.

Origin

Edsger W. Dijkstra (1976). A Discipline of Programming. Prentice-Hall (book).No digital identifier · Search scholarly sources

Lineage

Algorithms 4 · Relations 3

Derived algorithms

What it led to
American Flag Sort1993GeneralizationVerified90%

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

Bentley–McIlroy Three-Way Partitioning1993VariantEstimated70%

Structural analysisIt solves the same three-way partitioning problem by gathering equal keys at both ends and moving them afterwards.

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…