摘要: Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacen 阅读全文
posted @ 2016-02-23 10:46 amazingzoe 阅读(148) 评论(0) 推荐(0)
摘要: You are given a string, s, and a list of words, words, that are all of the same length. Find all starting indices of substring(s) in s that is a conca 阅读全文
posted @ 2016-02-23 05:57 amazingzoe 阅读(192) 评论(0) 推荐(0)