Cisco Interview Question

Tree traversal