Maximum Gap Between Stations
Place each worker as early as possible from the left and as late as possible from the right; the widest valid pair of consecutive workers gives the answer.
Place each worker as early as possible from the left and as late as possible from the right; the widest valid pair of consecutive workers gives the answer.