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.
Thanks! This was very helpful for me.
1+2=3 (1th triangular number)
1+2+3=6 (2dn triangular number)
1+2+3+4=10 (3d triangular number)
1+2+3+4+5=15 (4th triangular number)
1+2+3+4+5+6=21 (5th triangular number)
1+2+...+13+14 = 105 (13th triangular number)
given n, return the sum of the triangular numbers 1 to n.
n=2 gives 3+6=9.
Vasya doesn't do that, and you shouldn't either.
in my code its also failed, all the other test passed exept this one.
Yes, and that's not a kata issue, it's a problem with your code, use
Question
for cases like this one.Errr, no. Why do you say that?
If you have the 75 you can give that as change.