Nice kata! However, I did not see in the description of the problem that it is not necessary to return all steps. Perhaps this is inherent in the description of the fourth possible action. In this case, it should be explained how points 3 and 4 differ.
Not worth it. I don’t know how much time you spent coming up with a story-like condition and writing tests. Don't listen to people who write that it's easy. It may be easy for someone, but someone needs to think about it. I would like to see this as a kata and for different languages)
This comment is hidden because it contains spoiler information about the solution
So... your solution for
wpp(1, 5,4)
returns[(0, 5), (1, 4)]
. My point is that you need to write a better tester for this kata.This comment is hidden because it contains spoiler information about the solution
Nice kata! However, I did not see in the description of the problem that it is not necessary to return all steps. Perhaps this is inherent in the description of the fourth possible action. In this case, it should be explained how points 3 and 4 differ.
This comment is hidden because it contains spoiler information about the solution
Fixed, thank you!
Fixed, thank you.
This comment is hidden because it contains spoiler information about the solution
.
This comment is hidden because it contains spoiler information about the solution
.
Does that make katu bad?
Not worth it. I don’t know how much time you spent coming up with a story-like condition and writing tests. Don't listen to people who write that it's easy. It may be easy for someone, but someone needs to think about it. I would like to see this as a kata and for different languages)
Good Kata for beginners. :)