KPMG interview question

Asked on binary search tree