AkaaRa Consulting interview question

Binary search tree algorithm