← Questions

Employee free time

0
MetaCodingLast asked Nov 2025

You get each employee's busy schedule as a sorted list of non-overlapping intervals. Return the finite intervals in which every employee is free, in sorted order. Merge the busy times across people (sorting or a heap over the lists) and report the gaps.

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