Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
While concise, this solution should not be considered best practices given its time complexity of O(n^2)
#11b30/3q6:0z:vV
nice kata
great challenge.. overthinking kills ..
Ruby 3.0 should be enabled, see this to learn how to do it
Please organize the structure of test fixture as following (although it has been mentioned in the attached link, I'm repeated here again)
This comment is hidden because it contains spoiler information about the solution
The "encoded" example is incorrect:
"ArNran u rstm5twob e ePb"
(24 characters even though it's a 5×5 square).It should be
"ArNran u rstm5twob e ePb"
instead - note the extra space after "wob".Edit: it looks like the markdown parser is collapsing whitespace even within the code blocks, hence the error. Seems to work when using a non-breaking space character, " ".
Ruby translation kumited -- please check and approve (note: author is inactive)
would not count method run big O of n times?
Thanks a lot
Fixed.
im not sure what you mean by randomized test
is it possible for you to edit my kata?
thanks for the help
Just replace
decipherMessage
withdecipher_message
.Also please add randomized tests.
I am relatively new to programming and I'm not sure how to do that. sorry
snake_case
should be used for function names in Python.https://www.python.org/dev/peps/pep-0008/
Loading more items...