547. 省份数量 https://leetcode.cn/problems/number-of-provinces

1361. 验证二叉树 https://leetcode.cn/problems/validate-binary-tree-nodes

947. 移除最多的同行或同列石头 https://leetcode.cn/problems/most-stones-removed-with-same-row-or-column

前置知识

阅读本文前,你需要先学习:

323. 无向图中连通分量的数目

130. 被围绕的区域

990. 等式方程的可满足性

547. 省份数量

基本思路

解法代码

1361. 验证二叉树

基本思路

解法代码

947. 移除最多的同行或同列石头

基本思路

解法代码

loading...