Eventide interview question

Breadth first graph traversal