Given a positive integer n, find the least frequent digit present in n.
If multiple digits share the same minimum frequency, return the digit with the smallest value.
Constraints:
n
Given a positive integer n, find the least frequent digit present in n.
If multiple digits share the same minimum frequency, return the digit with the smallest value.
Constraints:
n