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.
What was your code?
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
Presumably you're mixing up test cases and failed a different input than you're showing here.
My code is failing here:
a1=[2,2,3]
a2=[4,4,9]
"True should be False"
Shoulden't be right?
Your code is trying to iterate over
None
as the error says.This comment is hidden because it contains spoiler information about the solution
Be sure that there is no error in the tests. Print the input to see exactly which test you are failing. For your 2nd example read again the description.
This comment is hidden because it contains spoiler information about the solution
Read this: https://github.com/codewars/codewars.com/wiki/Troubleshooting-your-solution
there is a way to see all the tests that have been aplied ?
I m passing just the example.
and I pass if hit test button, I don't get why I am passing the test and not the attempt:
do you get timed out? in that case your algorithm isn't efficient enough, if you fail tests your algorithm is wrong somewhere, try to find out what exactly you did wrong in that case and fix that!
Good eveving every one,
I believe i got the solution, it pass the test, but i got an error anyway.
Could anyone help me ? thanks