Algorithmic Solace: Binary Bloopers 2

Binary Bloopers 2

Blooping Bug 1

Algorithmic Solace 2

A Blooping Bug occurs when a binary search tree's recursive calls are so deep, they get tangled in a knot.

The symptoms include: infinite recursion, stack overflow, and an existential crisis.

Bloop! Fix by reorganizing your code and adding a little bit of sanity.