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.
Answers vary wildly with style. Some numbers: 172, 184, 307, 321, 475, 88, 69.
for them who solved this kata, how many lines of code do you wrote for this?)
This comment is hidden because it contains spoiler information about the solution
1000+ test i solve with method that knight can move out the board like board is 12x12 but no 8x8 so idk
Not an issue. The knight can do the following moves:
b7 -> d8 -> e6 -> c7 -> a8, which is 4 moves from start to finish. There's no wrap around and the expected answers are correct.
Haven't finished this yet but was definitely wondering about these. Seems like an easy fix since there are only 8 possible inputs that are affected. (a8, b7)(h1,g2)(a1, b2)(h7,g8) and their opposites.
if horse can move over table size, this kata have 2 wrong results
'b7' 'a8'
Expected: 4, instead got: 2
'g2' 'h1'
Expected: 4, instead got: 2