Count numbers with non repeating digits less than n
Idea:
- Count special ints with digits smaller than
n. - Count special ints with digits the same than
n.
- Count special ints with digits the same than
n. Use345as an example.- Count special ints like
1xxand2xx, where45is not a limitation here. - Count special ints like
3xx, which is the same as special ints smaller than45and without digit3.
- Count special ints like
Comments
Post a Comment