摘要:
转载参考:https://blog.csdn.net/weixin_43059934/article/details/123316433 https://zhuanlan.zhihu.com/p/438909352 牛客练习网址:https://ac.nowcoder.com/acm/contest 阅读全文
posted @ 2022-04-08 15:12
Chenyi_li
阅读(220)
评论(0)
推荐(0)
摘要:
class Solution: def topKFrequent(self, words, k): v1_dict = {} for i in words: v1_dict[i] = v1_dict.get(i,0)+1 data = sorted(v1_dict.items(),key=lambd 阅读全文
posted @ 2022-04-08 11:16
Chenyi_li
阅读(27)
评论(0)
推荐(0)

浙公网安备 33010602011771号