Skip to content
โ† Back to the archive

5 September 2026 ยท Advanced track

Peak Concurrent Solvers

Advanced Lists

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) tuples
  • start_minute is strictly less than end_minute for every session
  • Minutes are integers from 0 to 1439
  • Touching endpoints do not count as overlapping

Function signature

def peak_concurrent_solvers(sessions):

Sign in to solve this bracket

Reading the problem is free for everyone. Opening the editor and solving it requires an account with Open Bracket+.