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.
That's the first supporting also checks on double numbers, spot on!
The check function is an interesting alternative to using a Set. Smart, although maybe more resource intensive.
My only nit would be to use the triple equals in your check function.
You can check vertical and horizontal lines at same cycle.
No probs. ;P
Great, thanks. Can you just change 'definitiion' to 'definition' please :)
I've tweaked the description to be clearer. Hope it helps?
I've clearer descriptions of this and an example. Thanks for your help!
The description could be a bit more clear about the fact that a sentence is passed and not just a word, maybe providing a full example.
In my case, as I saw all examples were single words, I thought the input was just a word as well and only after I submitted the code I realized my mistake. Some people may not run into this problem, but that will enrich the description for sure.
Just a minor issue; other than that it is a really fun kata.
This comment is hidden because it contains spoiler information about the solution
Correct. I have changed the description to better this: 'If your name starts with the letter "R" or lower case "r", you are playing Banjo!'. Now it should be clear that lower case is also a valid "r" and the name should not be changed in the resulting string.
whoops, accidentally submitted before I cleaned up my code!
I think you should specify whether or not we can assume that the given n and m are always non-negative integers. If not (for example if we're meant to deal with cases like n=4.5 or m=-7) then you should add test cases that check that 0 is returned.
This comment is hidden because it contains spoiler information about the solution
Just to be pedantic, I'd mention that you don't have to deal with numbers with decimal points too. Otherwise, great kata!
This comment is hidden because it contains spoiler information about the solution
Loading more items...