Search⌘ K
AI Features

Minimum Interval to Include Each Query

Minimum Interval to Include Each Query asks you to find the smallest interval containing each query value, returning its size or negative one when no interval applies.

Statement

You are given a 2D integer array, intervals, where each element intervals[i] = ...