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.
Well done for giving the kata a fair crack. I've just come across it and felt the current description is really easy to understand—will have a go shortly as this looks like a fun one!
Can you consider to change your feedback? If you think that now it's worth to complete the kata :)
Edit : Thanks!
That's much less scary! :)
minor typo: adiacjent
Thank you very much for all the suggestions! I updated the description , Do you think it's ok now?
I thought the description was clear because I 'invented' the problem and it made sense to me in the way it was implicitly , but (now) I see that it's much better with what you suggested.
Added the following which should clarify:
I thought it was obvious from the example given. If you look at the positions of the numbers in the initial state, there's only one possibility. Also the
example_solution
below (taken from the Description) illustrates the rows and columns as well.In any case, I'll go ahead and add to the Description to make it crystal clear. Thanks for the heads up.
Now that I've looked at the values in your test example:
arr = [ [2,2], [3,2], [3,5], [6,2], [0,3], [3,3], [0,0], [6,1], [4,0], [2,5] ]
I can see that the coordinate system is the one at the top right of my image.
I'd like to see this explicitly stated near the start of the description.
Apologies if it's meant to be obvious from the description, but how do you define/number "columns" on the hexagonal grid?
Is it any of these? Or something else? https://i.imgur.com/SP6lWBG.png
I'm reluctant to start trying to solve this if I'm unsure of the coordinate system i'm using.
If you're going to call your requirements "Bullets", make the first 4 a list, so they actually have bullet points at the start.
I'd also prefer to have them numbered, for ease of reference when you later mention "If bullet 3 is true:"
I found that most of my time was spent scrolling the description up/down, switching between the "Add a point" rules, and the number/html mapping.
This would have been less tedious if the rules included the answer numbers:
etc.
After a LOT of guesswork, I've now completed "Hamiltonian cycle : check function" and "Hamiltonian cycle : create one !".
I'm not a mathematician; until today, I'd not heard of Hamiltonian paths/cycles.
Here are some of the things that made this MUCH more difficult that it should be:
I've now completed both "Hamiltonian cycle : check function" and "Hamiltonian cycle : create one !"
I see no benefit of "Hamiltonian cycle : check function" being a separate kata.
This comment is hidden because it contains spoiler information about the solution
approved :)
recursion
tag might be appropriatefixed.
thanks!
Not anymore ;)
Loading more items...