J.P. Morgan Interview Question

Create a binary tree