Amazon interview question

Process Scheduler (Leet code medium problem)