Coding question · ReconciliationVery HardAsked at Amazon

Merge overlapping leave intervals per employee

Interval merging via gaps-and-islands on dates.

The Brief