Practice ยท 3 of 4
Top word with a tie rule
CHALLENGE
Difficulty: beginner+25 XP
Implement static string TopWord(List<string> words) โ the most frequent word; on a tie, the **alphabetically first**. Every list has at least one word.
Press Submit to check your solution.
Back to lesson: Practice: Algorithm workshop