Update Release Scheduler (QR Intern)
Problem Overview
- Determine the minimum number of days needed to release all mobile app updates.
- Input: two arrays for n updates, plannedDate (planned day) and alternateDate (earlier option); output: an integer for minimal days.
- Releases must occur in the order of plannedDate values; multiple updates may release on the same day.
- Real-world context: scheduling software updates with optional earlier releases.
- Asked in Akuna interviews; a practical coding interview question and scheduling problem.
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Input Variables
Execution Result:
