leetle

Daily challenge for 2026-04-25

480. String Character Frequency Tally

Given a string s containing only lowercase English letters, return a string that represents the frequency count of each character present in s, ordered alphabetically by the character. The output format should be a concatenation of each character followed immediately by its count.

Example:
Input: s = "aabbcde"
Output: "a2b2c1d1e1"

Run this challenge interactively in Python or JavaScript when the app loads.