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.
You can print the inputs to see which tests you are failing.
Random tests are actually bad in Python, you would fail more than one test.
This comment is hidden because it contains spoiler information about the solution
triangle inequality theorem,but i used that and it still didnt
There is no such test, and it should be false. (it could be one of random tests tho)
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
Your function is returning strings, not booleans, not a kata issue. Read this: https://docs.codewars.com/training/troubleshooting/
This comment is hidden because it contains spoiler information about the solution