Explainer Science · Nation
Breadth-first search visits a paper tree one level at a time
Levels are not road distances.
Checking whether this browser can read the story aloud.
Explore related topics
Sources & editorial review
Sites editorial review recorded for this exact revision. This AI-assisted article or learning resource includes source links and credited contextual imagery.
This is a local editorial review, not a canonical Cultural Imprint Engine assessment. No CIE score is claimed. Source review does not verify third-party playback, provider availability or image pixels.

Photograph · source and license
The image, credit, reuse license, editorial context and delivered file are recorded in the exact Sites editorial review. This review is separate from the article’s canonical CIE assessment.
Image and publication standards →In this story
Neighbors before deeper branches
NIST describes breadth-first search and notes that, in a tree, it is equivalent to level-order traversal, typically using a queue.
Use a fictional tree
Draw root R with children A and B. Give A children C and D, and B child E.
Visiting R, then A and B, then C, D and E follows the stated levels. Choosing B before A can change the within-level order while preserving that pattern.
These invented connections carry no distance, fare or travel-time labels. The drawing cannot identify a fastest road journey between actual places.
Sources & verification
April 22, 2019 definition; checked October 18, 2026. AI-assisted research; original tree.
Read the sourceThis article was written with AI assistance from the linked sources. No firsthand interview or visit is implied. Source dates and limits are identified in the reporting. Advertising does not determine editorial coverage. Request a correction or read our standards.
EVERY NEIGHBOR HAS A VOICE
Keep the conversation going.
Share experiences, ask questions and link evidence for factual claims. Automated publication checks apply to each submitted version. Comments are independent community discussion, not submissions to a government body.
Sign in to join · freeCommunity standards