摘要: We are given a binary tree (with root node root), a target node, and an integer value K. Return a list of the values of all nodes that have a distance 阅读全文
posted @ 2020-02-02 23:55 北叶青藤 阅读(194) 评论(0) 推荐(0)
摘要: Given a 2D grid of 0s and 1s, return the number of elements in the largest square subgrid that has all 1s on its border, or 0 if such a subgrid doesn' 阅读全文
posted @ 2020-02-02 12:44 北叶青藤 阅读(232) 评论(0) 推荐(0)