The description lacks of informations: what is the expected final rod, could the board have more than one rod filled with discs at start?
I'm agree that's could be easily discovered by running the final tests, but that's waste of time (needs to refactor each time our guesses are wrong ^^)
Amark, please, could you advise me what should I put to the board?
I have written the solution, but my algorithm does not work because I expected that board will be as [start, diskQuant] :(
How is more elegant
This comment is hidden because it contains spoiler information about the solution
I don't think using java functions is the point of the kata, they don't make you think at all
Thank you for your comment. This is my first Kata, so I was still new with the development interface.
Apparently it turns out that the test cases that I ran during development that passed because they only tested very specific parts of the program also got included into the solutions section. These solutions should not pass in the current state of the test cases.
Do you have an example of something that passes that should not have passed?