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.
yep, it doesn't work unless
n
itself is a multiple of3
or5
!Doesn't work in many cases. For instance, when
n = 22
. 22 is not divisible by either 3 or 5 yet is added to the sum.I've just checked, no timeouts.
Having the same issue. Code works perfectly in playgrounds, but I keep getting the timeout. Timeout has been an issue on all the swift kata I've tried
The Swift version goes into a timeout error after 8 seconds. Does anyone else have the same problem?