Microsoft Interview Question

Binary search tree algorithm optimisation