Coding Ninjas Interview Question

Create the binary tree and insert the data.