You are viewing a single comment's thread. Return to all comments →
I don't understand the challenge here. In the go version, the function gets just n, s and an array of knights.
go
And the command array is constructed, but then nothing happens with it.
Isn't that a bug? How is the function supposed to calculate where the knights are, if there command array is never used? Or what am I missing?
Seems like cookies are disabled on this browser, please enable them to open this website
King Richard's Knights
You are viewing a single comment's thread. Return to all comments →
I don't understand the challenge here. In the
go
version, the function gets just n, s and an array of knights.And the command array is constructed, but then nothing happens with it.
Isn't that a bug? How is the function supposed to calculate where the knights are, if there command array is never used? Or what am I missing?