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.
funny cheat :-)
You could've avoided
to_str
,to_ary
,to_hash
check if definedmethod_missing
asself.method_missing
. In this case it will be defined formain
object only, instead of being defined forObject
as a classBut no one wants do do these :'(
This kata has stuck in beta for 200 days
Need more pure number theory kata like this.
.
Haskell translation
Indeed. Nice job!
Done, thanks!
( for JS )
In the random tests, you should pass in copies of
arr
(.slice()
is your friend) rather than thearr
itself.Thanks! I've fixed it.
This comment is hidden because it contains spoiler information about the solution