1919. Sort Features by Popularity

Medium
Array
Hash Table
String
Sorting

Description

Hints

Hint 1
Use a hash map to count the frequency of each word of each string.
Hint 2
Use the map for sorting the features.

Statistics

Acceptance
66.2%
Submissions
11,020
Accepted
7,299