Practice Problem
Minimum Interval to Include Each Query
Difficulty: Hard
Given a list of intervals and a list of queries, for each query find the size of the smallest interval that contains it, or -1 if no interval contains it.
Practice Problem
Difficulty: Hard
Given a list of intervals and a list of queries, for each query find the size of the smallest interval that contains it, or -1 if no interval contains it.