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.
Enjoy your report
This comment has been deleted.
Haha we got the exact same idea!
This comment is hidden because it contains spoiler information about the solution
It's the same in all languages. This isn't a version that requires performance.
Trash kata in Ruby that I could bruteforce my way in. Needs a rewrite.
This comment is hidden because it contains spoiler information about the solution
Compact but horrendous performance and hard to read
Haha, no I meant that your solution is so compact and simple, I'm genuinely impressed.
But that's even more impressive that you take the time to find an even better way to solve this kata.
Well done!
You're right. The regex could be cleaned up. I.e.
/(?<=\w)\S+(?=\w)/
What the actual :0
why not just
< max_num
?You can also just add the
i
case insensitive flag to your RegExp. Also, you don't need block parameterx
Wow, this is freaking clever and so efficient. Congrats! I have a lot of admiration for this!
This comment is hidden because it contains spoiler information about the solution
Loading more items...