This animation shows how to traverse a binary tree by levels. Click the "next step" button to run the animation.