Find the First K Valid UTC Deployment Windows

Given a periodic weekly schedule with W = 10080 minutes. UTC minute indices within a week are in [0, W), and all local-time rules repeat every week.

Find the first at most K valid UTC deploymen...

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: