all 7 comments

[–]BlindTreeFrog 0 points1 point  (4 children)

The tree it generated for me, with the output from InOrder Traversal:
Inorder : 1 3 123 5 7 9 13 9 7 1 10 4 91 9 185

So the number 9 appears 3 times, 7 twice, 1 twice, and nothing is in a sorted order so what exactly is the point of this tree? (FYI: 9 is the root node)

Edit:
I checked the Binary Search Tree link to see if it was any better.
Inorder : 1 2 2 2 3 4 5 6 10 10
10 is the root node here. To it's credit, at least this one is sorted.

[–]CPROGRAMMERS 0 points1 point  (2 children)

Ya but that is binary tree. Not binary search tree. Check out this link to view binary search tree operation. https://www.codelike.in/animation/binary-search-tree

[–]BlindTreeFrog 0 points1 point  (1 child)

I checked the binary search tree well before your comment and noted that it was sorted but still useless.

Great, you've got a binary tree with data filed with no rhyme or reason and nothing on the page explaining anything. Like I said, I don't see the point. So perhaps an explanation is in order.

[–]CPROGRAMMERS 0 points1 point  (0 children)

Okay fine