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.
why this not at the top!!
its nice
first time I got a short and topvoted output... pround moments..
This comment is hidden because it contains spoiler information about the solution
aye.. aye.. captain...
meanwhile me searching for the old formula for arithmetic progression to solve the problem.
These are the days when I feel as humble as a fart in an elevator full of strangers. Who ever thought of this solution must be a genius..
please format it in a proper way so that other people will look at the code...
learnes a big lesson
clever me using lambda function ... took the same effort....
thought this will be voted most... go for the shortest version for the sake of it... damn..
I feel more dumper than I actually is... after seeing this solution