๐Ÿ’ปap computer science a review

Traversals

Written by the Fiveable Content Team โ€ข Last updated September 2025
Verified for the 2026 exam
Verified for the 2026 examโ€ขWritten by the Fiveable Content Team โ€ข Last updated September 2025

Definition

Traversals refer to the process of visiting and accessing each element in a data structure, such as a tree or graph, exactly once.

"Traversals" also found in: