Answer:
If the first digit can't be zero (so that the number is genuinely five digits long), there are 100000 - 10000 = 90000 (we are just taking away 00000 through 09999). Maybe the simplest way is just to count, no permutations/comb necessary. Smallest 5 digit number is 10000, largest 99999.
Explanation:
SPEEDRUN