Kickdrum interview question

System Design Graph traversal question