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.
Thanks, glad you found the flaw!
1: sys will never be null or empty.
2: product must be greater than... which means > so your test on "product" is not really the good one.
3: verify your "areCoprime". I have no time to test your function but the usual way is with the "gcd" (good exercise: gcd of two numbers and then gcd of a list).
4: if the conditions about product and coprime are not fullfilled there will be no runtime error. You will simply fail the corresponding tests. At last, no test returns something empty.
Keep me informed!
This comment is hidden because it contains spoiler information about the solution