摘要: 这题思路一开始想错了,主要体现在两方面: 1. 不应该针对每个点搜索,而是应该逆推回来,从河流到岸上进行搜索 阅读全文
posted @ 2020-02-08 08:29 sbj123456789 阅读(102) 评论(0) 推荐(0) 编辑
摘要: Question In an N by N square grid, each cell is either empty (0) or blocked (1). A clear path from top-left to bottom-right has length k if and only i 阅读全文
posted @ 2020-02-08 04:30 sbj123456789 阅读(486) 评论(0) 推荐(0) 编辑