1. 首页
  2. 数据库
  3. 其它
  4. LeetCode:Find the Town Judge(Python3实现)

LeetCode:Find the Town Judge(Python3实现)

上传者: 2020-12-23 07:07:06上传 PDF文件 68.01KB 热度 22次
题目描述 In a town, there are N people labelled from 1 to N. There is a rumor that one of these people is secretly the town judge. If the town judge exists, then: 1.The town judge trusts nobody. 2.Everybody (except for the town judge) trusts the town judge. 3.There is exactly one person that satisfies
下载地址
用户评论