摘要: 题目如下: On an NxN chessboard, a knight starts at the r-th row and c-th column and attempts to make exactly K moves. The rows and columns are 0 indexed, 阅读全文
posted @ 2018-11-27 22:01 seyjs 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 题目如下: There is an m by n grid with a ball. Given the start coordinate (i,j) of the ball, you can move the ball to adjacent cell or cross the grid boun 阅读全文
posted @ 2018-11-27 14:25 seyjs 阅读(188) 评论(0) 推荐(0) 编辑