KPMG Interview Question

Asked on binary search tree