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.
Ok, maybe you could add tag Optimization to this kata ? That could be the lead for people to have a clue what is happening or what is wrong.
I should not have infinite loops there, problem is it timeouts before anything could be printed out.
P.S. With tests I am able to do list_squared(1, 13000)
Test cases are done in 27 ms but Submit timeouts with 6s
(Python)As I read comments here, its not as much as broken as I had no clue why it was not passing, tests passed easily. I guess problem is optimization. Probably add some crazy big number so people will know what is the problem.
Still 'broken'...
I know I could do it like this. You even can see it that I used it this way for is_set and I commented there that it can be done with cycle.
In the beginning I used this for more transparency and better understanding.