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.
sum of arithmetic progression
That little engineer part at the end was a great hint.
also the "".join is unnecessary
can you pls explain why yours works
or in a return statement. Wow
I tried to exploit the life attribute of the object and it worked for the practice cases. How did you remove it for the tests
made it a lot shorter though the speed is similar due to the fact that yours inserts the value which is slower
more testcases