How to practice
Choose what to practice. In Quick rotation practice, the tree is already built: your task is to balance it. In the Complete exercise, open Configure or restart, select a mode and 6 to 20 values (the default is 8), then choose Start exercise. Mixed includes at least two case types; LL, RR, LR and RL modes guarantee the chosen case and may include others.
In the complete exercise, read the current value and use Insert at root for the first node. For later values, walk down the tree comparing with every ancestor. Select the parent by clicking a node or using the Select node list, then choose Insert on the left or Insert on the right. The position must be empty and respect every bound along the path. An incorrect attempt preserves the tree and current value while explaining the mistake.
After each valid insertion, check whether rebalancing is required. Help and hints lets you display balance factors and reveal progressive clues. Start at the newly inserted value, follow its parents upward, and stop at the first ancestor with factor +2 or −2. The path from that ancestor identifies LL, RR, LR or RL; the case name is not the direction of the rotation button.
Select the node for the next operation and choose Rotate left or Rotate right. Each click performs just one simple rotation. For LR and RL, first rotate the corresponding child, then the original ancestor: the still-unbalanced intermediate state is part of the solution. The next value is unlocked only when BST order, heights and balance are correct. The student's tree never repairs itself automatically.
Use zoom, panning and Fit to view to inspect nodes; the list lets you select a node even when it is outside the frame. Footer indicators track correct actions, errors, rotations and hints without a collapsed panel. When finished, review your score and retry or generate a new exercise. In quick practice, the corrected tree stays visible until you choose Next exercise; doing so does not restart the complete exercise.