Route interview question

Write a graph traversal/aggregation algorithm