AO
Back

Earliest Free Meeting Slot from Event Strings

OAAsync OALast reported August 2025Medium Frequency

Problem Overview

You are given a list of n event strings, events, and an integer k, the length of a meeting in minutes. Each event has the format

<name> <activity> <start> <end>

with times written as HH:MM, for example "Taylor sleep 00:00 08:00".

Find the earliest time at which everyone who appears in the events is free for at least k minutes, and return that start time as a string in "HH:MM" format. If there is no such time, return "-5".

Notes from the reports

  • This was the one coding problem in a Citadel online assessment, after about 15 multiple-choice questions. Five candidates reported the assessment in 2025.
  • The problem statement comes from one report. Three others identify their coding problem as the earliest meeting time, or meeting scheduler, problem; a fifth report of the same assessment format calls its coding problem LeetCode 56 (Merge Intervals) in a wrapper, and does not connect it to this meeting-scheduler problem.
  • No report gives a worked example with its expected answer, input limits or a function name. The not-found value "-5" is as reported; it is unusual, so confirm it.
  • Not stated in any report, so confirm or state your assumption:
    • Is a person free at an event's end time? (Is Taylor free at 08:00 after "Taylor sleep 00:00 08:00"?)
    • When does the day end: may a meeting run until 24:00, or must it end by 23:59?
    • Can an event cross midnight, and can an activity contain spaces?

What Reports Emphasize

Why people fail: One candidate passed every visible test case with 15 minutes left and was not moved forward; they suspected hidden cases.; One candidate who had practised the problem still had one test case fail.

Practice

Write your own against 11 test cases, or read the worked solution — approach, complexity, and code that runs.

Prepping for Citadel with friends?

Send them this page. It is free to read, no account needed.

More Citadel Questions

Free preview

Every question in the Citadel catalog gets this depth

What you just read — canonical solution, follow-up arc, what passing candidates actually did — exists for all 62 Citadel questions, refreshed monthly from new candidate reports.

$59/mo — or $50/mo with the 3-month pass · cancel anytime
Citadel · OA · Reported 5× across candidate reports
Is this helpful?