← Questions

Earliest common slot in two calendars

0
UberCodingLast asked Sep 2025

Given two people's calendars as lists of time intervals and a meeting length, return the earliest slot of that length that works for both, or nothing.

Clarify whether the intervals are free or busy times and whether they are sorted.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding