The smallest digit is 0. But we cannot use 0 at the place having the highest place value in six digit numbers. So, we will use the second smallest digit i.e., 1. All other places are filled by 9.
Hence, the required number = 100000
smallest six digit number will be 100000.
The largest digit is 9. We can use 9 at any place. Infact, we can use 9 in all places in six digit numbers.
Hence, the required number = 999999
largest six digit number will be 999999
Required difference = 999999 − 100000 = 899999
So, the total numbers between 999999 and 100000 will be 899998.