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.
PHP Translation available for review. TY for the Kata :)
the description allowes it, but it's not tested in the fixed tests. => Donald?
WOW, okay that took me a while!
I quite liked this one, was stuck for a little bit until I re-read the instructions.
2 live neighbours only keeps the cell alive, it doesn't bring a dead cell alive
What do you expect if you don't know even the most foundational terma in CS? There is only so much spoonfeeding possible. We don't explain what every English word in the description means, for example.
Also, there is a thing called Google. Use it.
@FArekkusu
Adam is right this makes no sense. I still have no idea what to do. Heck I've never even heard of nodes in Python!
In any algorithm you choose there's a "compare 2 nodes for identity" part. You must be doing something wrong if all the nodes are identical for you.
Are you sure you're moving through the linked list correctly? If you are indeed stuck in place, you'll be comparing the node with itself, hence "they are identical".
I tried exactly that in PHP but when you compare them they are identical, even the unique ID's I mentioned before. I just tried making every check I did strict and I did see different results but still can't get this. Think this may stay unsolved for quite a while
All nodes are different as all nodes are instantiated independently. If you don't want to search for the specific (classic) algorithm, you can simply go with a "store the nodes somewhere and check if I've encountered any of them already" approach (at least it worked for me in Python).
This is as much as I can tell without spoiling anything.
This comment is hidden because it contains spoiler information about the solution
Being unfamiliar with something != something is mysterious and can't be understood. This kata is very simple OOP + the simplest data structure; ideally you must be familiar with both, especially when you're doing a task which includes these concepts.
This comment is hidden because it contains spoiler information about the solution