Skip to content

Conversation

hydrosquall
Copy link
Contributor

Was thinking about this problem recently, so added a small constraint that avoids checking strings that must have duplicates by virtue of the fact that they are too long.

Alternately, if it would be best to code up a separate solution in a different file, I could do that too.

Was thinking about this problem recently, so added a small constraint that avoids checking strings that must have duplicates by virtue of the fact that they are too long.

Alternately, if it would be best to code up a separate solution in a different file, I could do that too.
@thundergolfer
Copy link
Owner

No I think this is a good insight into the problem. Sure, the assumption could be incorrect, but having the check shows that the code-set condition has been addressed.

Sorry for the late addressing of this PR.

@thundergolfer thundergolfer merged commit c6ac7d4 into thundergolfer:master Feb 8, 2017
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

Successfully merging this pull request may close these issues.

2 participants