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.
i don't even know what this is about
find the answer was not too diffcult, solve the timeout problem was important! feel fun with this KATA
Al final lo hiciste po!
You shoul tell us the concept, because many of us are lost in this kata!
Hello, I need help. I use c++ and for self-checking I wrote the Node class with similar methods myself. The problem is that the tests are running correctly on my computer (when I type in test examples), but when I test the code here, it gives a completely different value. What could this be related to?
You don't need the nodes' values. They might not even have values.
It doesn't depend on using the node value. The values could all be identical. The nodes don't even need to store a value inside of them.
Anyone solved this Kata in php? I am struggling how to optain the value of a node.
Good question. I am struggling also with the node check.
This comment is hidden because it contains spoiler information about the solution
look more carefuly at the description : it mentions the method
getNext()
to get the nextnode
. So, in order to get the next node, you can donode = node.getNext()
.the
node
object is given as an argument, and is an instance of a custom class defined somewhere else.As the challenge require you don't modify these, it does not really matter what its implementation is.
I'm kinda lost with the input format here. Looking at the test cases, I'm not really getting it. Is there like a ready-made object I should be using, or am I just missing something?
This comment is hidden because it contains spoiler information about the solution
Do you mean to say this can't be done in PHP?
Because the fact that it's available in PHP tells us that it has been implemented in PHP, there are pre-determined and random unit tests in PHP, and that those have been completed.
The Node class should be in the description, honestly it is hard to think of a solution without being able to access to Node value or something
Loading more items...