第一题 # # 按频率高低打印 # @param s string字符串 输入字符 # @return string字符串 # import collections class Solution: def frequencySort(self, s): # write code here a = collections.Counter(s) a = dict(a) b = sorted(a.items(), key=lambda a: a[1], reverse=True) ans = &quo...