Frequency count with alphabetical sorting
Filed under Fiberlink
The question
Given a string like 'gggggaaannnnnnnwwww', output 'n7g4w4a3'. Characters with the same frequency must be printed in alphabetical order.
No write-up yet. Related questions below have one.
Related Fiberlink questions
Collected from public candidate posts and coding forums. Updated Nov 2026.