Hide text Hide pseudo-code | |
Traverse the following binary tree in postorder. | void traversePostOrder(link t) { if (t != NULL) { traversePostOrder(t.getLeft()); traversePostOrder(t.getRight()); visit(t); } } |
TRAKLA2 | Index |
Hide text Hide pseudo-code | |
Traverse the following binary tree in postorder. | void traversePostOrder(link t) { if (t != NULL) { traversePostOrder(t.getLeft()); traversePostOrder(t.getRight()); visit(t); } } |