Rearrange the letters of a string so that no two adjacent characters are equal, or report that it is impossible.
Rearrange the letters of a string so that no two adjacent characters are equal, or report that it is impossible.
The discussion opens with the full question.