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.
To force enumerate() start from 1 instead 0
I learn so much by reading other peoples codes here.
I do wonder though, why add the start=1 in the second argument? (if it is called that, still learning :))
readability?
If this was a job instruction from a boss. Sure. Definitly.
But as a puzzle and training to make ourself better programmers? Nah, was good the way they did it.
To be fair They should've written that in capslocks... I was right about to close the tab when I've came here and read your comment :)))
Thanks for saving some of my time :')
HA! was gonna complain on failing to recieve instructions, Until i now re-read the instructions and saw that "if given empty array or null, return a empty array"
This is a great exercise to learn to read the instructions and make sure to understand what it is you are supposed to do. i failed to take the time to comprehend and suffered the consequences for my own failings, which is the essence of programming.
Good one mate :)