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.
good
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Wow, after so many painful piecemeal additions for corner cases, you show make this look easy... http://giphy.com/gifs/MUeQeEQaDCjE4/html5
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
That's great to hear!
Wow, I learned so much from reading just one line of code! :)
@YiyangLi The test is correct, please read the kata description carefully for SOS code description.
@jolaf please take a look again the test case in JavaScript, the length of the morse code in the case SOS is 9, without any delimiter, each position is either dot or dash. I think '', an empty string, is the correct answer, but it expects SOS.
Great solution! I learned a couple of things with this code. :)
thanks!
Obviously yes, since
[1.0, 2.0, 3.0]
is the same as and indistinguishable from[1, 2, 3]
.so should 'isIntArray([1.0, 2.0, 3.0]);' return true?
Loading more items...