![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hash
文章平均质量分 64
_TCgogogo_
这个作者很懒,什么都没留下…
展开
-
LeetCode 1010 Pairs of Songs With Total Durations Divisible by 60 (hash)
You are given a list of songs where theithsong has a duration oftime[i]seconds. Returnthe number of pairs of songs for which their total duration in seconds is divisible by60. Formally, we want the number of indicesi,jsuch thati < jwith(tim...原创 2022-02-22 20:48:47 · 220 阅读 · 0 评论 -
LeetCode 1224 Maximum Equal Frequency (hash)
Given an arraynumsof positive integers, return the longest possible length of an array prefix ofnums, such that it is possible to removeexactly oneelement from this prefix so that every number that has appeared in it will have the same number of occur...原创 2021-07-19 14:00:48 · 156 阅读 · 0 评论