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.
The goal was not to rewrite the code, just make it work. But of course, this one is much clearer than the previous one.
This comment is hidden because it contains spoiler information about the solution
You blew my mind with that solution 🤯
Another level solution 👏
Oooh! I like this solution. It's quite clever. Nice work. 🙌
Good one
e refers to element in the array of the current itteration and i the index of the element in the current itteration on each itteration we are substraction the index i from the input number n populating the array with decreasing numbers from first number n each time by 1
I would have never thought of this. Nice one.
best one
really good solution
smart
I know this gets you to pass the test, but I feel like this goes against the spirit of the kata, which was to debug the errors present.
I guess at the end of the day, if it passes the validation, its correct.
Smart!
What's the 'e' needed for in the map callback? I tried without it and it doesn't work but not sure what that 'e' is actually doing
Bravo on the logic
Loading more items...