Search
⌘K

Leetcode 2112. The Airport With the Most Traffic

Given n airports and a list of flights [from, to, passengers], compute the total traffic for each airport (sum of arrivals and departures) and return the airport(s) with the maximum traffic, handling ties and potentially large passenger counts.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.