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.
The random tests are just 1000 random numbers between 0 and
Int32.MaxValue
. Your solution doesn't cover all possible cases. You only check if something is divisible by 2, 3, 5, or 7... if it's not then you declare the number as prime. There are plenty of numbers which aren't divisible by those numbers but are divisible by other numbers. 361, for example isn't prime, but isn't divisible by any of those numbers.Your code fails with this single input:
"Welcome"
. I sincerely doubt the same code works fine with this input in VSC.