Search
⌘K

Leetcode 2984. Find Peak Calling Hours for Each City

Aggregate call records by city and hour to count frequencies and return, for each city, the hour or hours with the maximum number of calls. This tests efficient grouping and frequency counting (hash maps), tie handling, and scalable O(n)-time aggregation for large logs.


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.