given a range how many numbers are there having distinct digits
Answers
Answered by
13
I'm thinking: Number of unique digits numbers 1-5324 = Number of unique digits numbers 1-9 + Number of unique digits numbers 10-99 + Number of unique digits numbers 100-999 + Number of unique digits numbers 1000-5324.
So: f(n) = Number of unique digits numbers with length n
So: f(n) = Number of unique digits numbers with length n
Similar questions