- Click Generate Root to create the root node of the tree.
- Check the Next Element to be Inserted section to see which value needs to be inserted next.
- Choose the appropriate insertion step by clicking one of the buttons: Insert Left, Insert Right, Insert and Rotate Left, or Insert and Rotate Right.
- The node will be inserted immediately and appear on the tree visualization.
- After inserting all elements, click Submit to check if your choices were correct.
- Click Show Steps repeatedly to view detailed explanations for each insertion step.
- Use the Reset button to start over with a fresh tree.
Next Element to be Inserted
Observations