Thoughtworks Interview Question

BBST insertion