摘要: Description: 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 a v 阅读全文
posted @ 2021-03-26 14:49 summer_mimi 阅读(43) 评论(0) 推荐(0) 编辑
摘要: Description: Given the root of a binary tree, imagine yourself standing on the right side of it, return the values of the nodes you can see ordered fr 阅读全文
posted @ 2021-03-26 12:07 summer_mimi 阅读(25) 评论(0) 推荐(0) 编辑
摘要: Description: 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 island is sur 阅读全文
posted @ 2021-03-26 09:37 summer_mimi 阅读(32) 评论(0) 推荐(0) 编辑