You are given an array of video clips clips where clips[i] = [start_i, end_i] indicates a clip that begins at start_i and concludes at end_i. You are also given an integer time.
Any clip can be cut into smaller segments. A collection of overlapping or touching clips can be joined together to span a continuous duration.
Determine the minimum number of clips required to fully cover the interval from time. If the entire interval cannot be covered, return
Constraints:
clips.length
start_i end_i
time
You are given an array of video clips clips where clips[i] = [start_i, end_i] indicates a clip that begins at start_i and concludes at end_i. You are also given an integer time.
Any clip can be cut into smaller segments. A collection of overlapping or touching clips can be joined together to span a continuous duration.
Determine the minimum number of clips required to fully cover the interval from time. If the entire interval cannot be covered, return
Constraints:
clips.length
start_i end_i
time