Beispiel #1
0
 public void inOrderPrint(TreeNode<Integer> root) {
   if (root == null) {
     return;
   }
   inOrderPrint(root.left);
   System.out.println(root.data);
   inOrderPrint(root.right);
 }