Kickdrum Interview Question

System Design Graph traversal question