AlgoMaster Logo

Minimum Interval to Include Each Query

intervals=[[1,4],[2,4],[3,6],[4,4]],queries=[2, 3, 4, 5]
0 / 23
algomaster.io
Step:Find the smallest interval containing each query