Sponsored
Use these hints if you're stuck. Try solving on your own first.
It is enough to check if each move of the knight is valid.
Try all cases of the knight's movements to check if a move is valid.
Solve with full IDE support and test cases