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.
while my solution has 70 lines lol
still proud of myself though
This comment is hidden because it contains spoiler information about the solution
thats also me my 2nd acc
aint that hard to be honest its just the author didnt explain well ..
Hello im just so buffled and i didnt really get it i have my code now but the question has some points that didnt really explain clearly like this
Assert::That(isValidWalk(V{'n','s','n','s','n','s','n','s','n','s'}) // it is true since the size is 10
Assert::That(isValidWalk(V{'e','w','w','w','n','w','w'}) // SHOULD BE TRUE??? btw this is the input of the test .. how come this is true when every char is 1 min and this isnt even in 10 minutes just like the author said
I already tested my solution on a seperate ide and its succesful but when i copy and paste here i got this error. Pls Help :(
Traceback (most recent call last):
File "tests.py", line 2, in
from solution import likes
ImportError: cannot import name 'likes' from 'solution' (/workspace/default/solution.py)
Thank you for. Your help. I can almost get it now but there are still 6 error and strangely all of its is none should equal 2 and none should equal 1.. Can you atleast give me a hint whats wrong in my code?
Oh sure so this is an example:
[2,4,6,7]
Output
4 # this is the correct answer and i have no problem on this one but on finding the even number for example:
[5,7,8]
My output:
1
3
Strangely there ie extra one i dont know how
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution