原文链接: https://leetcode-cn.com/problems/making-a-large-island
英文原文You are given an n x n binary matrix grid. You are al
标签详情
深度优先搜索 分类
原文链接: https://leetcode-cn.com/problems/sum-of-distances-in-tree
英文原文There is an undirected connected tree with n nodes
原文链接: https://leetcode-cn.com/problems/similar-string-groups
英文原文Two strings X and Y are similar if we can s
原文链接: https://leetcode-cn.com/problems/keys-and-rooms
英文原文There are n rooms labeled from 0 to n - 1 and all the r
原文链接: https://leetcode-cn.com/problems/all-nodes-distance-k-in-binary-tree
英文原文Given the root of a binary tree, the va
原文链接: https://leetcode-cn.com/problems/smallest-subtree-with-all-the-deepest-nodes
英文原文Given the root of a binary tree
原文链接: https://leetcode-cn.com/problems/leaf-similar-trees
英文原文Consider all the leaves of a binary tree, from left
原文链接: https://leetcode-cn.com/problems/loud-and-rich
英文原文There is a group of n people labeled from 0 to n - 1 where ea
原文链接: https://leetcode-cn.com/problems/possible-bipartition
英文原文We want to split a group of n people (labeled from 1 t
原文链接: https://leetcode-cn.com/problems/increasing-order-search-tree
英文原文Given the root of a binary search tree, rearra