Skip to content

Glossary: Data Structures and Algorithms in Java

traversal

Also written: traverse

Visiting every node of a linked list or tree in turn. For a list, start at the head and follow `next` until `null`.

Where the book teaches it

Related terms

in-order traversalpre-order traversallinked list