BNP Paribas Interview Question

Select from a binary tree