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.
I spend 10 minutes thinking hard and bro just does it in three lines...
Amazing. I will write 100 times "I will look for a closed-form solution" on the blackboard. On second thought however, your solution requires to iterate over the entire sequence to sum the elements, which is not the most efficient approach on average with very long sequences.
nice one
could you f**k me tonight?)
wtf here lives a legend.
Yes, without that variable, they could have done that in one line.
sequence is may more diff to type than t, lol
Pretty smart solution
Good explication¡
woooooooooow
Dam U mathematic
This comment is hidden because it contains spoiler information about the solution
Why is it divided for two?
whool, so cool!!! it's really clever!
awesome
Loading more items...