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.
Was struggling with the same problem for a good few hours...
Like @K01egA mentioned above it might be a problem with the input values, sure was the problem in my case
Got the same error. Angle Test works fine, have no idea where to look further.
If the list input contains any invalid values, discard it entirely
I am struggling with exactly the same issue, but in Python.
I amended my code to maintain the size sum of all inserted blobs, and it does indeed come up to
570
, which means that the fixed tests are correct, and that there is a bug in both of our codebases.That's all I know for now.
I would focus on testing the angle-test: where you make sure the right blob is targeted when their sizes and distance to them are equal. Make some unit tests to ensure that it functions as it should in all angles.
Hi, I had the same feelings when I started on CW and found this kata. If you don't know anything about classes and objects, begin there. If that part is good, check on "linked lists" and that should be good after that. Formally, a node is a
Node
object with two fields: a value and a successor. Here, the value has no interest and only the successor is needed, which you can access with the methodnode.getNext()
(the exact call might depend on the language).