private void postorderPrinting(Node node) { if (node != null) { postorderPrinting(node.getLeft()); postorderPrinting(node.getRight()); System.out.print(node.getData() + " "); } }
public void postorderPrinting() { postorderPrinting(root); }