Unable to get the corect algorithm for the question

前端 未结 0 1954
后悔当初
后悔当初 2020-12-05 11:23

Given a chess board of and n x n. A knight at (X1,Y1) can clash with opposite colour knight at (X2, Y2) if

  1. | x1 - x2| == 2 and |
相关标签:
回答
  • 消灭零回复
提交回复
热议问题