The greatest 4-digit number is 9999
The smallest 5-digit number is 10000
Therefore, the difference between these numbers is:
10000
-9999
----------
0001
----------
Hence the difference between the smallest number of 5-digits and greatest number of 4-digits is 1.