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.
What is the best time complexity one could achieve? Mine is O(n^(3/2)) and I still couldn't make it through the time limits.
NASM translation, please review carefully.
This comment is hidden because it contains spoiler information about the solution
I suggest to add a fixed test for numbers 1 to 100 (or 1000). Reason: I completed the kata in ruby & python with an incorrect algo, which fails already at 43, 67, etc...
Well, do you think it is possible to pass the tests without the math background that i don't have, (i have near no math education) ?
Is there any clever other trick that would make a python implementation able to pass the tests without timeouts ?
I don't find any more optimization i could bring to my ignorant "brute force" approach of this problem :(
Is there some wikipedia math info that i could study that would hint me ?