Problem 3663 · Easy

Find The Least Frequent Digit

Tally the digits of n and pick the one that appears least often, breaking ties toward the smaller digit.

Open the interactive visualisation