Intervals - Minimum Interval to Include Each Query
Given the following code snippet implementing the min-heap approach, what is the output for intervals = [[1,4],[2,5],[7,10]] and queries = [3,6,8]?
15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions