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.
@eb110 I actually agree with you. It should be explained (or at least displayed in sample tests) that:
Explaining why 'K' is invalid and '4jzaaa' is valid??
What would be a better wording, if you would propose one? ^^
If a character is not within the valid range to generate its base-20 representation, then it is considered invalid, so should
return -1
For a 7-kyu kata, simple 'If it cannot be done, return -1.' is too ambigous to be treated as valid description. 81% of rating score confirms that.
This comment is hidden because it contains spoiler information about the solution
!
added and updated to Node 12 as well
Added
No random tests
Fixed the descriptions
CoffeeScript translation kumited! Plase accept :D
You should tell in the description what can be the input.
It would be better to say in the description that an invalid value must return -1!-)
Loading more items...