The smallest 6 different digits are 0, 1, 2, 3, 4, 5
The smallest 6-digit number with all different digits = 102345
(0 cannot come at first place else it will form a 5-digit number)
The largest 5 different digits are 6, 7, 8, 9
The largest 5-digit number with all different digits = 9876
Difference = 102345 - 9876
= 92,469