Normally knights move (1,2) steps at a time i.e 1 step in one direction, and two in the other. In a general version it can move (i,j) steps at a time.
I'm not sure if this is a knight's tour problem, since I don't remember a restriction on visiting one square at a time. Also, the answer is just a yes/no, we don't need to know the actual path.
One idea I had is essentially treating the board points like a graph and doing a depth first search for all valid (i,j) moves and marking it as visited. At the end of it, if there's any unvisited square, then it's not possible. However, this takes up N^2 space and I wanted to know if there was a simpler solution since it's a yes/no question.