Maximum Skill Certificate Count
Maximum Skill Certificate Count
EasyArrays0% accepted
Arjun manages the NSDC Skill Certificate Registry in Delhi. He has records of multiple skill certifications issued (Java:3, Python:2, Java:4). To allocate training resources, he needs to find which skill has the highest total certifications.
Approach
Given N skill-certification pairs, find the skill with maximum total certifications by aggregating duplicate skills.
Input
5
Java 3 Python 2 Java 4 Cpp 1 Java 2
Output
Java 9
More Arrays problems
Browse all coding problems →solution.py
Loading editor...
Test 1
Test 2
Test 3
Press Run to test your custom input, or Submit to judge against all test cases.
Sign in to continue
Create a free account to run code, submit solutions and track progress.
- Free forever — no credit card
- 10+ languages with live execution
- Points, streaks & leaderboards