CodingReported in a candidate post, Dec 2019
Minimum deletions so every character has a unique frequency
Filed under Tesla
The question
Given a string, find the minimum characters to delete so each remaining character appears a distinct number of times; all occurrences of a letter may be deleted (for example aaaabbbb needs 1 deletion).
No write-up yet. Related questions below have one.
Related Tesla questions
Collected from public candidate posts and coding forums. Updated Nov 2026.