Find second most frequent tag
Given a list of tags, find the tag that appears the second most frequently. If the second and third most frequent tags have the same count, return an empty string. Implement the function `def find_sec...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
