Inorder

Hide text Hide pseudo-code

Traverse the following binary tree in inorder.

void traverseInOrder(link t) {
  if (t != NULL) {
    traverseInOrder(t.getLeft());
    visit(t);
    traverseInOrder(t.getRight());
  }
}


  Created Fri Oct 30 13:52:51 EET 2009 - Powered by SVG-hut