搜索结果
查询Tags标签: 277,共有 4条记录-
Leetcode周赛277
未掌握:二进制枚举 状态压缩目录# 元素计数# 找出数组中所有孤独数字# 按符号重排数组# 基于陈述统计的最多好人数 # 元素计数 【传送门】:https://leetcode-cn.com/problems/count-elements-with-strictly-smaller-and-greater-elements/签到题,排序后遍历一下就…
2022/2/1 6:57:50 人评论 次浏览 -
【算法】力扣第 277 场周赛
文章目录 [2148. 元素计数](https://leetcode-cn.com/problems/count-elements-with-strictly-smaller-and-greater-elements/)[2149. 按符号重排数组](https://leetcode-cn.com/problems/rearrange-array-elements-by-sign/)[2150. 找出数组中的所有孤独数字](https://le…
2022/1/30 14:05:00 人评论 次浏览 -
找名人 277. Find the Celebrity
Suppose you are at a party with n people (labeled from 0 to n - 1), and among them, there may exist one celebrity. The definition of a celebrity is that all the other n - 1 people know him/her, but he/she does not know any of them. Now you want to fin…
2021/11/9 6:10:26 人评论 次浏览 -
找名人 277. Find the Celebrity
Suppose you are at a party with n people (labeled from 0 to n - 1), and among them, there may exist one celebrity. The definition of a celebrity is that all the other n - 1 people know him/her, but he/she does not know any of them. Now you want to fin…
2021/11/9 6:10:26 人评论 次浏览