Update 997 solution

This commit is contained in:
halfrost
2021-12-21 21:21:21 +08:00
parent 1499e7804c
commit 0468622cc6
8 changed files with 104 additions and 8 deletions

View File

@ -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
## 代码