I have made a program for making and traversing Binary Search tree. My program is running Ok the only problem is when i am inserting nodes in order.
8,7,6,9,5,1,4,3
The post treveral is printing.
1,3,4,5,6,7,9,8
However according to my calculations it should print.
3,4,1,5,6,7,9,8
It seems ok to me the only problem should be in insertion, my be my program is not implementing the tree perfectly that's why it is not printing perfectly.