Demonware Interview Question

Traverse a given tree