← Oracle questions
CodingMedium - Hard

Year with Maximum Population

Filed under Oracle

Given a list of birth and death years for N people, return the earliest year with the maximum population. A person is counted in the population for every year in the range [birth, death - 1].

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

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