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.
That was
f()
this isfoo()
! 😏def f():
a = [1,2,3,4,5]
b = [4,5,6,7,8]
return list(set(a)-set(b))
you are right
what's the line count got to do with efficiency?
hello my code is correct pass the first test but when i presse ATTEMPT i got this message "Execution Timed Out"
Most of the time though this issue is caused by inefficient algorithms. If you see this error multiple times you should try to optimize your code further.
i do it with 5 lines ..!