Quick Overview

Compute the union length of meeting intervals and the minimum number of rooms needed. Respect half-open boundaries, duplicate meetings, touching endpoints, malformed inputs, and exact integer results in O(n log n) time.

Measure Meeting Coverage and Required Rooms

Company: Flexport

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: hard

Interview Round: Onsite

Overview: Compute the union length of meeting intervals and the minimum number of rooms needed. Respect half-open boundaries, duplicate meetings, touching endpoints, malformed inputs, and exact integer results in O(n log n) time.

Read the full Flexport Software Engineer interview experience this question came from

Loading…