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.
This comment is hidden because it contains spoiler information about the solution
Correction: there is no need to assume a <= b in the function definitions.
Ah I see. Thanks!
yonax, you uncovered a nasty bug. I have fixed it and added the test cases discussed above to the kata.
This was due to an issue in my logic for solving the problem. It has been corrected, and the kata has been republished.
To confirm,
I am republishing the kata now, with this issue resolved.
Yes, I will file this as an issue.
The problem is that the solution is looking for equality in the terms of each vector.
Comparing
None
to a non-existent value will equate toTrue
since they are both NoneType.I've got a failed test with
[None] []
0.0 should equal 1.0
But reading the posts isn't 0.0 the intended result here?