Arrange tasks (letters) so that equal ones are at least n slots apart, inserting idle slots when needed; return the minimum total length.
Arrange tasks (letters) so that equal ones are at least n slots apart, inserting idle slots when needed; return the minimum total length.
The discussion opens with the full question.