I need your help. I am trying to write a program that will create a binary tree for any 10 random numbers that are generated. I did try to search online , but I am not able to get a simplified approach of doing this.
But for some reason the node insertion after the second node is added does not make sense to me. I am confused with the way they are using references here.
Any help will be appreciated.