Sollicitatievraag bij LinkedIn

Implement Java Iterator interface in a question that requires a tree traversal-like algorithm.