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.
0
Hello Interview Premium
Your account is free and you can post anonymously if you choose.