Data structures · Binary search trees

Inserting

A new value goes where a search for it would fail, and the hard part is making the parent actually point to it.