Index Ai Academy
Glossary · Phase 7 · Software engineering

In-order traversal

Also written: in-order walk, in-order

Visiting a tree's left side, then the node, then the right side; for a binary search tree the keys come out sorted.

Try it now

Watch node move down the tree: one comparison per level, never visiting the other side.

Learn it properly

Binary search trees and traversals · Insert, search and delete in a sorted tree, walk it four ways, and see why balance and B-trees matter. About 40 minutes.

Create a free account See what's in the lesson

Other terms from the same lesson

Never trained an AI?

Teach a small one to write, right in your browser. It takes about 20 seconds and needs no account.

Teach it to write