Problem 3692 · Easy

Majority Frequency Characters

Group letters by how often they appear and keep the group with the most distinct letters.

Open the interactive visualisation