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.
Nope. That does not work.
A less ambiguous description would be "...but with all words of >= 5 characters, reversed". Made the same mistake
Oh ok I see. So it simply means that I can only walk one block at a time in the given direction. Thank you.
The word "directions" has two possible meanings, "instructions" vs. "which ways you move".
You always walk only a single block in a direction
here simply assigns the distance walked per direction to one block. Each direction (instruction) is to be followed thus; independantly.Hi, I have some problem with arrays containing two consecutive directions (the ones containing [...,'n','n',...] for example). The description says: "You always walk only a single block in a direction", so this mean that if I find arrays like in the example above I should return false, it is not valid because I walk two block in a direction. But when I run the code some of the test case fails and they contains consecutive directions, which should be false, instead it says me they should be true. Have I undertood wrong?
Thank you
This comment is hidden because it contains spoiler information about the solution
Not an issue...
Print the input, e.g. in JS
console.log
it, PHPecho
, Pythonprint
, Rubyputs
, etc.Hi. I passed all the sample tests but I can't pass 2 of the 9 random example when I try to attempt. The problem is that I can't see what string was given to the function, I can only see the value my function return and the correct value, so I don't know how to fix the function. What can I do?
null
has noLength
property, check fornull
first.This comment is hidden because it contains spoiler information about the solution
Compare it to
null
?Java: How's it possible to check if an int array is null? Shouldn't this work only for object arrays?
Oh God...stupid mistake, sorry. Thank you anyway.
Why repeated sentence words are not all modified when .replace is used? Shouldn't .replace do that by definition?
Loading more items...