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

Possible Error in 1st Strings Exercise #192

Open
TacoMantra opened this issue Jul 15, 2016 · 1 comment
Open

Possible Error in 1st Strings Exercise #192

TacoMantra opened this issue Jul 15, 2016 · 1 comment

Comments

@TacoMantra
Copy link

The description reads "you should be able to reduce duplicate characters to a desired minimum." However, the last test expects string 'aaxxxaabbbb" with a maximum number of 2 duplicates to return 'aaxxaabb', which contains 4 'a' characters.

@artfuldev
Copy link

Reducing usually means replacing 2 adjacent duplicate characters with any one of them. There are 2 sequences of 'aa' which are not next to each other, that seems fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants