Coding Ninjas interview question

Create the binary tree and insert the data.