Citadel Interview Question

Graph traversal stuff