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.
Could someone give me an explanation to this? I'm a lost on the underscore
very short way. it's great.
mmm, overcomplication...
Thank you for the detailed explanation !
I came to the same solution, only my initial array is generated dynamically.
I did not see the pattern with other modulos either.
Your first condition was inecessary, but apart from that the solution is simpler and no more ressource intensive than any more "clever" or "elegant" other.
very neat and short way solving the problem!
Is that clever? Rly?
Unfortunately, I can't choose "Best Practices" and "Clever at the same time.
I agree it's super clean but not the most readable later.
it took me about about half an hour and solution was big, but I came to same result:D
just simplify simplify and simplify)
OMG i've never realised that, such smartness
This comment is hidden because it contains spoiler information about the solution
now i feel dumb with my solution :D
it's ok, we can't always write a clean and optimal code. many times i wonder after submitting my solution and see how others can do it with just one line of code. i think the important this is practising more and more and one day we will become good at it. 😉
All these upvotes are surely made jokingly right? But why ! 🤔