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.
Such a clever solution using regex.
Thank you.
It took me some time to understand this while loop.
Could you explain the reasoning behind it, please?
Most simple solution.
You can take advantage of seq() odd behaviour with vectors of length 1 and just use seq(number-1).
This is a very concise and clever solution, specially the vectorised substring bit.
I've learnt with it. Thank you.
Horrible creature.
I've learnt a lot by doing it, and by looking at other people's answers.
Very inspiring.