Find minimum-latency path across dependent services | Snapchat Interview Question