Desktop only
Coding Challenges are optimized for Desktop
Come back on a wider screen - the live editor needs room to breathe. You can still read the problem brief above.
Come back on a wider screen - the live editor needs room to breathe. You can still read the problem brief above.
def insert_interval(intervals: list[tuple[int, int]], new: tuple[int, int]) -> list[tuple[int, int]]:
"""intervals is already merged and sorted; return the merged result after inserting new."""def intersect_intervals(a: list[tuple[int, int]], b: list[tuple[int, int]]) -> list[tuple[int, int]]: ...def common_free_time(schedules: list[list[tuple[int, int]]], day_start: int, day_end: int) -> list[tuple[int, int]]: ...