Search
⌘K

Leetcode 2423. Remove Letter To Equalize Frequency

Given a lowercase string, determine whether removing exactly one character can make the frequencies of all remaining letters equal. In other words, check if the multiset of character counts can be made uniform by decrementing one count (or removing a character with count 1).


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.