RK DSA Studio

Trees & BST

A tree connects parents to children. In a BST, every left-subtree key is smaller and every right-subtree key is larger.

Remember: Smaller left, larger right.

Example: Root 2 can have left child 1 and right child 3.

The interactive workspace loads here when JavaScript is available. You can still browse the learning notes and links above without it.