leetcode在力扣 App 中打开
调试中...
调试中...
题目描述
题目描述
题解
题解
提交记录
提交记录
代码
代码
测试用例
测试用例
测试结果
测试结果
行 1,列 1
edges =
[[0,1],[0,2],[0,3]]
colors =
[1,1,2,3]
Source