摘要: 原题链接在这里:https://leetcode.com/problems/minimum-knight-moves/ 题目: In an infinite chess board with coordinates from -infinity to +infinity, you have a kn 阅读全文
posted @ 2019-11-26 13:22 Dylan_Java_NYC 阅读(1343) 评论(3) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/shortest-bridge/ 题目: In a given 2D binary array A, there are two islands. (An island is a 4-directionally connec 阅读全文
posted @ 2019-11-26 12:38 Dylan_Java_NYC 阅读(359) 评论(0) 推荐(0)
摘要: 原题链接在这里:https://leetcode.com/problems/open-the-lock/ 题目: You have a lock in front of you with 4 circular wheels. Each wheel has 10 slots: '0', '1', '2 阅读全文
posted @ 2019-11-26 11:33 Dylan_Java_NYC 阅读(469) 评论(0) 推荐(0)