Posts with tag 'line sweep'

Meeting Schedule For Two People

1 minute read

You are given two two-dimensional list of integers a and b and an integer duration. Each element in a contains an inclusive interval [start, end] meaning tha...

Movie Theatres

1 minute read

Given a list of time exclusive intervals for different movie showings (possibly overlapping), find the minimum number of theatres required to be able to show...

Most Frequent Number in Intervals

less than 1 minute read

You are given a list of list of integers intervals where each element contains the inclusive interval [start, end].

Back to top ↑