Search
⌘K

Leetcode 3663. Find The Least Frequent Digit

Count the occurrences of each decimal digit in the integer n and return the digit with the smallest frequency; if multiple digits are tied, return the smallest digit among them.


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.