Persistent Systems Interview Question

Tree traversal algorithm