← Questions
Employee free time
0
I was asked this
No reports yet. Sign in to say where you were asked it.
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.
No official answer yet. Write yours on the right and run it.
Nothing published yet.
Write and test your solution herePython in your browser, the question's tests level by level, saved for you.Sign in to start coding
