Minimum Deletions to Make Character Frequencies Unique
Medium
Greedy (Advanced)
A string is good if no two different characters have the same frequency. Print the minimum number of deletions to make the string good.
Constraints
1 <= len(s) <= 10^5 Lowercase letters
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.