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.
you can just check if its exists...
check the array for contains undefined or null and return false?) as the description says?)
Glad to hear it, thanks, you too ;P
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
can agree only becous of node version 8.1 used in this kata otherwize 6 kuy its more then enough.
This comment is hidden because it contains spoiler information about the solution
slowly re-read Kata's description and you got it.
i guess you already figured it, but i say for further guys who face with same problem, just slowly re-read the description of kata, and you can figure out why you failing one of basic tests.
so in general I did not see, there are certainly more elegant solutions, but apparently everyone had problems with "-".
i guess you dont need to check if s.length , since if you use .join('') on empty array you got empty string.
thanks for the info, yeah seem's mb for 2013 its was not so easy ;D
benjaminzwhite, brilliant reply!
It's really not a 5 kyu, but thank you all for the free points =)
Please see this comment earlier in Discourse:
https://www.codewars.com/kata/51edd51599a189fe7f000015/discuss#6389ed86c64b83003d6c595e
Please see this comment earlier in Discourse:
https://www.codewars.com/kata/51edd51599a189fe7f000015/discuss#6389ed86c64b83003d6c595e
Loading more items...