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.
Oh!, thank you I didn't know range()
Readable code should be best practice. This looks fun but not easy to read.
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
you must cry! )
why
I agree. But I like one row code. It's so quest. ;)
In my opinion, one row code is less readable then multirow )))) ;
My code works for all cases but it shows test failed in one case,i tried printing array lengths but in that case no log is visible
you can print the arguments
Not a kata issue, your code is wrong. You could have noticed how many guys passed the Swift kata before posting an issue.
This comment is hidden because it contains spoiler information about the solution
Read the description with care.
Is there an error in tests ??
Case1
Inputs: [2, 2, 3], [4, 4, 9]. Expected: TRUE
Case2
Inputs: [2, 2, 3], [4, 9, 9]. Expected: FALSE
Why are there different expectations in these cases ???
Sorry but there are no errors in the tests. I tried several solutions and all worked fine. It's not that test you fail. Print carefully the two arrays and your ouput. Print something between your printing so you can easily see each test.
Loading more items...