You are given a ranges and two integers left and right. Each ranges[i] = [start_i, end_i] represents an inclusive interval between start_i and end_i.
Return true if every integer in the inclusive range left, rightranges. Otherwise, return false.
An integer ranges[i] = [start_i, end_i] if start_i end_i.
Constraints:
ranges.length
start_i end_i
left right
You are given a ranges and two integers left and right. Each ranges[i] = [start_i, end_i] represents an inclusive interval between start_i and end_i.
Return true if every integer in the inclusive range left, rightranges. Otherwise, return false.
An integer ranges[i] = [start_i, end_i] if start_i end_i.
Constraints:
ranges.length
start_i end_i
left right