Codele / Data structures

Binary search trees

Remember the guess-my-number game: “higher” or “lower” throws away half the numbers. A tree can be built so that every question does exactly that.

Loading the playable lesson…