6 kyu
Ciphers #2 - The reversed Cipher
337 of 577ngmhprogramming
Loading description...
Fundamentals
View
This comment has been reported as {{ abuseKindText }}.
Show
This comment has been hidden. You can view it now .
This comment can not be viewed.
- |
- Reply
- Edit
- View Solution
- Expand 1 Reply Expand {{ comments?.length }} replies
- Collapse
- Spoiler
- Remove
- Remove comment & replies
- Report
{{ fetchSolutionsError }}
-
-
Your rendered github-flavored markdown will appear here.
-
Label this discussion...
-
No Label
Keep the comment unlabeled if none of the below applies.
-
Issue
Use the issue label when reporting problems with the kata.
Be sure to explain the problem clearly and include the steps to reproduce. -
Suggestion
Use the suggestion label if you have feedback on how this kata can be improved.
-
Question
Use the question label if you have questions and/or need help solving the kata.
Don't forget to mention the language you're using, and mark as having spoiler if you include your solution.
-
No Label
- Cancel
Commenting is not allowed on this discussion
You cannot view this solution
There is no solution to show
Please sign in or sign up to leave a comment.
strings with a " " threw me off. Nice challenge
Correct me if I'm wrong but I think the description does not describe at all the actual task. With Hello World! :
-> '!dlroW olleH'
Last character in the original is ! (if we consider punctuation marks as, the description states; otherwise it would be d ) so -> 'dlroW olleH!' or '!lroW olleHd'
Why do you refer to words ? Why and how should we consider words? It's not question about words in the previous instructions. If punctuation mark has to be counted as part of the world, why isn't it reversed just like the word itself?
How can we get lleHo dlroW! following those instructions ?
Approved
Why is there
undefined
in the reference solution?I don't understand what you mean, could you please clarify? I don't see that when I try the test cases.
Your reference solution for the random tests sometimes return a string that contains
undefined
.Which means your reference solution has a bug, so please fix the bug :)
I don't know what's the bug honestly.
Well, time to debug your own code then!
Hint: Your solution breaks when you have a group of word that has no characters.
I wrote a comment under his solution =)
Python tests fixed -- see the kata editor for comments. Use the same method for other languages.
I've fixed the JS version for you.
There is another unintended feature in the JS test cases. Not so much a bug, but something that's not working as you intended.
Resolved?
Please help fix the issue!
I might help you. How can I write to you? email or something like that.
Python tests fixed, description updated -- see the kata editor for comments. Use the same method for other languages.
Cheers