On my way to Philadelphia I pass five mileposts that indicate the distance I still have to travel to Philadelphia. The mileposts are at fixed intervals. Each milepost has a two-digit number, and together the five mileposts use all the digits from 0 to 9 exactly once.
(i) What is the smallest distance that the closest milepost can be from Philadelphia?
(ii) What is the maximum distance that the closest milepost can be from Philadelphia?
***Mileposts don't begin with 0, that is, no milepost can contain a leading zero.