Language: EN FI

Exercises > Inorder

These exercises demonstrate the content of the ByTheMark service. These are meant for private individuals for learning data structures and algorithms. If you want to try out more content, you can register to the ByTheMark Personal free of charge.

Traverse the following binary tree in inorder.

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

  Last modified Tue Jun 28 21:01:56 EEST 2011