Amazon Interview Question

To solve an algorithmic problem regarding scheduling.