Intervals - Minimum Interval to Include Each Query
Given the following partial output of the min-heap approach for queries [2,4,6]: res = [3, 2, -1], and intervals [[1,3],[2,5],[4,5]], which query corresponds to the result 2?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions