摘要: Solution: 1. From left to right 阅读全文
posted @ 2018-05-14 07:10 amazingzoe 阅读(81) 评论(0) 推荐(0) 编辑
摘要: Given a non-empty 2D array grid of 0's and 1's, an island is a group of 1's (representing land) connected 4-directionally (horizontal or vertical.) Yo 阅读全文
posted @ 2018-05-14 05:55 amazingzoe 阅读(97) 评论(0) 推荐(0) 编辑
摘要: A matrix is Toeplitz if every diagonal from top-left to bottom-right has the same element. Now given an M x N matrix, return True if and only if the m 阅读全文
posted @ 2018-05-14 05:12 amazingzoe 阅读(147) 评论(0) 推荐(0) 编辑