摘要:
994. Rotting Oranges You are given an m x n grid where each cell can have one of three values: 0 representing an empty cell, 1 representing a fresh or 阅读全文
摘要:
417. Pacific Atlantic Water Flow There is an m x n rectangular island that borders both the Pacific Ocean and Atlantic Ocean. The Pacific Ocean touche 阅读全文
摘要:
133. Clone Graph Given a reference of a node in a connected undirected graph. Return a deep copy (clone) of the graph. Each node in the graph contains 阅读全文
摘要:
200. Number of Islands Given an m x n 2D binary grid grid which represents a map of '1's (land) and '0's (water), return the number of islands. An isl 阅读全文
摘要:
79. Word Search Given an m x n grid of characters board and a string word, return true if word exists in the grid. The word can be constructed from le 阅读全文
摘要:
39. Combination Sum Given an array of distinct integers candidates and a target integer target, return a list of all unique combinations of candidates 阅读全文
摘要:
295. Find Median from Data Stream The median is the middle value in an ordered integer list. If the size of the list is even, there is no middle value 阅读全文