PostOrder Traversal (Not Using Recersive)
soasme.com
soasme.com
I'll be examining these algorithms closely, but does an algorithm exist to traverse the DAG so created as if it were a binary tree? I want to be able to count the leaf nodes of the tree, without the traversal getting hung up in the situation where an interior node's children are both the same node instance, with a reference count of 2.