5 September 2026 ยท Advanced track
Peak Concurrent Solvers
Find the largest number of players who were solving today's challenge at the exact same moment.
Every player's attempt at today's challenge is logged as a (start_minute, end_minute) pair, showing when they opened the bracket and when they closed it, in minutes since midnight. Find the largest number of players who were solving the challenge at exactly the same moment, at any point in the day. A player who closes their bracket at the exact minute another player opens theirs is not counted as overlapping with them โ the first player's session has already ended. Return that largest number as an integer.
Constraints
sessions is a non-empty list of (start_minute, end_minute) tuplesstart_minute is strictly less than end_minute for every sessionMinutes are integers from 0 to 1439Touching endpoints do not count as overlapping
Function signature
def peak_concurrent_solvers(sessions):