Tagged Questions
2
votes
2answers
248 views
code review for count then sort problems (go lang)
the question is simple, for a input [apple, banana, orange, apple, banana, apple], the program will count it as a map: {apple : 3, orange: 1, banana: 2}, then sort this map by it's values, get ...