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 attempted a brute force function at first which had the timeout issues, then I figured out the algo by thinking about squares and triangles to come up with a quicker solution...however, at larger integers, python's math completely fails. I've double checked the math on a calculator and it should be returning a different result, but for whatever reason python is returning the wrong number. Not sure how to proceed with this one.
Lol that's cheating
There's always one goofball XD love it
or genius?
Do I need to do anything to fix this? Or has it been taken care of? Or do I need to repost but ensure the spoiler is in place?
This comment is hidden because it contains spoiler information about the solution