/1337-B1N4RY-TR33-Example

Binary Tree Example [In Order Traversal] - Written in Java.

Primary LanguageJava

1337-B1N4RY-TR33-Example

Binary Tree Example [In Order Traversal] - Written in Java.


Visualization of the binary tree


     .30.
  25_/  \_50
 20_/     \_72
7_/ \_21    \_1337

image


So effectively what my program does,

Is traverse the binary tree, in order [ left node > root node > right node ],

The output should show: "7 20 21 25 30 50 72 1337" - if it completes successfully.