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.
Thank you!
Aggree with you. I'm not sure that O(n^2) is a best practice. It looks compact but not optimal.
wrong solution:
test weight(322,156) should return 306.48749781747574
I agree that test with big values of row and pos are necessary, because
most of recursion algorithms throws stack overflow exception when row > 10 000.
for example weight(32000,11234)