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.
Please use a spoiler flag, comments are visible to everyone by default (I've just put the flag on for you this time).
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I am having an issue with the solutions test in swift. I am getting 1 more than the expected value.. Meaning that it's probably an issue with the range I am using but I don't think so since all the example tests and random tests have passed successfully with the expected amounts of possible answers. Is anyone having the same issue?
I posted how I found my range bellow if someone could please shed some light as to what I am doing wrong exactly.
Thank you!
Well inferring that equation from the description is part of the kate imo.
That was my initial approach but I didn't know it was allowed to write another function.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
Wow can't believe I didn't see what I forgot to add but cheers man!
Alright thanks for the hint!
I used that and something more.
This comment is hidden because it contains spoiler information about the solution
They worked for me.
Tests using swift not working? Code works fine on playgrounds
Loading more items...