Problem 1432 · Medium

Max Difference You Can Get From Changing an Integer

Make one digit substitution for the largest value and another for the smallest, avoiding a leading zero.

Open the interactive visualisation