Microsoft Interview Question

Remove bst keys outside the given range