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.
this solution is doing unnecessary operation
those three method adds unnecessary operations because you can directly generate the result using old schoold for loop
you can also reverse the order like my solution and it's best to handle negative d
i didn't even think of type casting lol