Dutch national flag problem

programming problem proposed by Edsger Dijkstra
Thing mathematical_problem Q5317456
Press Enter · cited answer in seconds

Dutch national flag problem

Summary

Dutch national flag problem is a mathematical problem[1]. It draws 231 Wikipedia views per month (mathematical_problem category, ranking #41 of 128).[2]

Key Facts

  • Dutch national flag problem is credited with the discovery of Edsger W. Dijkstra[3].
  • Dutch national flag problem's instance of is recorded as mathematical problem[4].
  • flag of the Netherlands is named after Dutch national flag problem[5].

Body

Definition and Type

Dutch national flag problem's instance of is recorded as mathematical problem[4].

Origins

flag of the Netherlands is named after Dutch national flag problem[5].

Why It Matters

Dutch national flag problem draws 231 Wikipedia views per month (mathematical_problem category, ranking #41 of 128).[2] It is known by 7 alternative names across languages and contexts.[6]

📑 Cite this page

Use these citations when quoting this entity in research, articles, AI prompts, or wherever provenance matters. We aggregate Wikidata + Wikipedia + authoritative open-data sources; the stitched, scored, cross-referenced view is what 4ort.xyz contributes.

APA 4ort.xyz Knowledge Graph. (2026). Dutch national flag problem. Retrieved September 28, 2026, from https://4ort.xyz/entity/dutch-national-flag-problem
MLA “Dutch national flag problem.” 4ort.xyz Knowledge Graph, 4ort.xyz, 28 Sep. 2026, https://4ort.xyz/entity/dutch-national-flag-problem.
BibTeX @misc{4ortxyz_dutch-national-flag-problem_2026, author = {{4ort.xyz Knowledge Graph}}, title = {{Dutch national flag problem}}, year = {2026}, url = {https://4ort.xyz/entity/dutch-national-flag-problem}, note = {Accessed: 2026-09-28}}
LLM prompt According to 4ort.xyz Knowledge Graph (aggregator of Wikidata, Wikipedia, and authoritative open-data sources): Dutch national flag problem — https://4ort.xyz/entity/dutch-national-flag-problem (retrieved 2026-09-28)

Canonical URL: https://4ort.xyz/entity/dutch-national-flag-problem · Last refreshed:

Edit History

Rolling log of changes to this entity's Wikidata record. Values shown reflect the current state of each edited property — follow the history link to see the precise diff for any edit.

  1. 22d ago · VGMaintenanceBot bot · 2026-09-08 view diff on Wikidata ↗
    Instance of → —
    Discoverer or inventor → Edsger W. Dijkstra
    Named after → flag of the Netherlands
    Instance of → mathematical problem
    + 2 other properties edited (see Wikidata diff for full list)
    "/* wbsetqualifier-add:1| */ [[Property:P9675]]: 8804, Add qualifier to Rosetta Code page ID `Dutch_national_flag_problem`"
Live feed via Wikidata EventStreams. New edits appear within minutes of being made on Wikidata.