Remedo Interview Question

Tree traverse with binary tree search