← Amazon questions

Maximum Traffic to a Stadium City in a Tree-like Graph

Filed under Amazon

Given a network of n cities and m roads forming an acyclic graph with edge weights representing traffic, find the maximum total traffic coming from surrounding connected components to a specific city…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.