This theory is part of Premium
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricingFind the stretches of time when every employee is free.
What this asks
Find the stretches of time when every employee is free.
Flatten all intervals, sort by start, merge, and return the gaps between merged blocks.
The full write-up (worked counting examples, the trap list and the interview playbook) unlocks with a Premium plan, along with every Pro visualizer.
See pricing