摘要: https://leetcode.com/problems/battleships-in-a-board/ 给定一个N×N的棋盘,有任意数量的1×N或N×1大小的“船”,注意船船之间是不相邻的,要求统计有多少船 Example: In the above board there are 2 batt 阅读全文
posted @ 2016-12-24 11:06 三人木君 阅读(229) 评论(0) 推荐(0) 编辑