← Microsoft questions

Calculate people traveling through city x to reach match city y

Filed under Microsoft

Given a tree or graph where each node represents a city with a population, and a tournament match held in a target destination city where all people travel along shortest paths, calculate for every…

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 Microsoft questions

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