mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-06 17:44:10 +08:00
Update 997 solution
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
# [997. Find the Town Judge](https://leetcode-cn.com/problems/find-the-town-judge/)
|
||||
# [997. Find the Town Judge](https://leetcode.com/problems/find-the-town-judge/)
|
||||
|
||||
## 题目
|
||||
|
||||
@ -57,7 +57,7 @@ Return the label of the town judge if the town judge exists and can be identifie
|
||||
入度和出度统计
|
||||
|
||||
- 被人信任定义为入度, 信任别人定义为出度
|
||||
- 如果1-n之间有数字x的入度为n - 1,出度为0,则返回x
|
||||
- 如果 1-n 之间有数字 x 的入度为 n - 1,出度为 0,则返回 x
|
||||
|
||||
## 代码
|
||||
|
||||
|
Reference in New Issue
Block a user