Problem 2037 · Easy

Minimum Number of Moves to Seat Everyone

Assign each student to one seat with minimum total movement.

Open the interactive visualisation