原文链接: https://leetcode-cn.com/problems/couples-holding-hands
英文原文There are n couples sitting in 2n seats arranged in a
标签详情
深度优先搜索 分类
原文链接: https://leetcode-cn.com/problems/maximum-depth-of-n-ary-tree
英文原文Given a n-ary tree, find its maximum depth.
Th
原文链接: https://leetcode-cn.com/problems/n-ary-tree-postorder-traversal
英文原文Given the root of an n-ary tree, return the
原文链接: https://leetcode-cn.com/problems/swim-in-rising-water
英文原文You are given an n x n integer matrix grid where each
原文链接: https://leetcode-cn.com/problems/minimum-distance-between-bst-nodes
英文原文Given the root of a Binary Search Tree (
原文链接: https://leetcode-cn.com/problems/is-graph-bipartite
英文原文There is an undirected graph with n nodes, where each no
原文链接: https://leetcode-cn.com/problems/cheapest-flights-within-k-stops
英文原文There are n cities connected by some number
原文链接: https://leetcode-cn.com/problems/all-paths-from-source-to-target
英文原文Given a directed acyclic graph (DAG) of n n
原文链接: https://leetcode-cn.com/problems/find-eventual-safe-states
英文原文There is a directed graph of n nodes with each no
原文链接: https://leetcode-cn.com/problems/binary-tree-pruning
英文原文Given the root of a binary tree, return the same tree w