PracticeTestGeeks home

Hackerrank - HackerRank Python Certification Hackerrank - HackerRank Python Collections and Data Structures Questions and Answers

A developer is processing a large log file where each line contains a user's action.
They need to count the occurrences of each unique action to identify the most common ones.

Which Python collection is the most efficient and idiomatic for this task?

Select your answer