J.P. Morgan Interview Question

How does binary tree work?