Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearrange characters in a string such that no two adjacent are same #21

Open
smoholkar opened this issue Oct 21, 2018 · 2 comments
Open
Labels

Comments

@smoholkar
Copy link
Owner

Input: aaabc
Output: abaca

Input: aaabb
Output: ababa

Input: aa
Output: Not Possible

Input: aaaabc
Output: Not Possible

You can assume input is always lower case.

@srivastavarnav
Copy link

Hello @smoholkar  I would like to work on this!

@ikhnaton
Copy link

submitted PR #47

Repository owner deleted a comment from YeMyoAung Jan 31, 2024
Repository owner deleted a comment from kevinleonsmith Feb 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants
@smoholkar @ikhnaton @srivastavarnav and others