Postorder binary-tree traversal
List children before their parent. This order is useful for measuring a folder. Work out the sizes of the folders inside it before adding them up.
Drag a child to either side of its parent. The L and R edge labels show which branch the program will visit.
Time is O(V). Call depth equals tree height.