Fathom Interview Question

Graph traversal