Rearrange chars in string such that no 2 adjacent are the same

Last updated

Was this helpful?