You are given a weekly timeline of 10080 minutes (minute 0 = Monday 00:00, minute 10079 = Sunday 23:59). All intervals are left-closed, right-open [start, end). Part 1: Given a list of intervals labeled either 'allowed' (deployment permitted) or 'freeze' (deployment forbidden), compute all continuous deployable windows within the week.…