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.
So many creative ways to complete these problems :)
this is math!
This is 0.4ms shorter on average.
Study math
Best advice would be : try to do it in the simplest way :)
i wrote a 7 lines solution, just to find this answer afterwards. Very smart approach to be honest!
This is the first time my code resembles anything like the best code here :D
I didn't want to feel cheesy by googling "pyramid of odd numbers" and being given a solution, but after one hour of struggle and coming to a different solution... This is borderline insulting.
Nice, never realised that the join function was so useful
Where's conditions of these task.Or all conditions of these task is inside of reduce() method ?
This made me cry.
This comment is hidden because it contains spoiler information about the solution
that is also work
😂 good job
feel kinda dumb lol
Loading more items...