21
slchangtw
4 20 35
2419/ 2695
Shun-Lung Chang
Last seen 7 months ago
Member for 4 years
Difficulty Normal
Best reviews / Newest reviews
Simple Decreasing Frequency Sorter-mithilkotak 1
The counts can be made by using collections.Counter `from collections import Counter` `counts = Counter(items)` More
Use dict to count and sorted with lambda key-hbczmxy
Line 4-7 can simplified by using `collections.Counter`. More