5 kyu
Tongues
685 of 2,048Frzy
Loading description...
Strings
Ciphers
Algorithms
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.
Translated Typescript from JavaScript, spent some time organizing the tests as well. could fork JS and add those changes there as well
Do you know why it is unable to use guard statements in Swift?
Really interesting kata.
Ruby 3.0 should be enabled, see this to learn how to do it
Enabled in this fork
Coffeescript
Crystal
(author inactive)
Rust translation kumited! :-)
I've updated the translation to Rust 1.49.
Julia translation
JS needs random tests.
Python 3 should be enabled.
done
Splendid Kata mate, i like your imagination :D
Swift 5 translation
Is something wrong with the random tests? The expected values are the same as the input values:
Random tests: Testing for m.amUAtNfvzXTU40haxx ✘ It should work for random inputs too - Expected: "m.amUAtNfvzXTU40haxx", instead got: "w.ewYEnTgkqJNY40sejj" Testing for IcVpaeTo ✘ It should work for random inputs too - Expected: "IcVpaeTo", instead got: "OlKbeaNi" Testing for i ✘ It should work for random inputs too - Expected: "i", instead got: "o"
Nice twist on the caesar code! :) It even has random tests! But too easy for 5 kyu...
I got this random test error Testing for a It should work for random inputs too - Expected: "a", instead got: "e"
Isn't that for input "a" should return "e"?
This comment has been hidden.
@GiacomoSorbi
,Python 3 isn't available because of
xrange
(twice).Thanks!
Done!
But then I get:
Final Solution is invalid. (python) The solution should pass the provided test cases
This comment has been hidden.
If only I read you before :p
Thank you. I figure it out.
Any idea why I receive the following error when I try to submit the solution: Test Passed: Value == One ring to rule them all. Test Passed: Value == Now is the time for all good men to come to the aid of their country. Test Passed: Value == Fourscore and seven years ago our forefathers brought unto this Test Passed: Value == continent a new nation. Test Passed: Value == The quick brown fox jumped over the lazy dogs. SyntaxError: Invalid regular expression: /(/: Unterminated group
I am not using any reg exp in my code.
Thank you.
Run this test case through your code.
I hope this puts you in the right direction.
This comment has been hidden.