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

Vague Description / Easy Task - Intermediate Algorithm Challenge - Missing Letters #13635

Closed
Jamayk opened this issue Feb 28, 2017 · 0 comments
Closed

Comments

@Jamayk
Copy link
Contributor

Jamayk commented Feb 28, 2017

My solution checked all FCC tests and also returned 1 or more letters (if it was the case).
But then I had some more Qs: what if the letters have random order, what if my str contains other chars, and so on; then I checked FCC Wiki:

There is currently no test case for the string missing more than one letter, but if there was one, recursion would be used. Also, the letters are always provided in order so there is no need to sort them.

Clearly I was overthinking it; but maybe description of the challenge should be a bit more accurate, like specify that the str is a-z, sorted, missing only one letter, etc. (like the quote from Wiki)
I also think this exercise is a lot easier than some prev ones, if we keep it only a-z, sorted, 1 letter missing.


While searching for results/issues on this challenge, I've found #13431; I can fix it if fixtheelvis is busy for now.

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

3 participants