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.
there are 100 random tests, but you see 5 assertions for each of them. So you need to reach 500 successful assertions just for the random tests. Meaning you need to change a bit your approach (the way you store your data and use them)
Think mathethematics...what you are doing is wholly unneccassary...
Figuring out what to do is part of the challenge, so I don't want to say too much... but brute force is definitely not the way to go.
That's exactly how I wanted it: thanks for your kind words :)
There are not many tests but some big numbers. Maybe it would be better to have a look at LCM: https://en.wikipedia.org/wiki/Least_common_multiple.