Given an integer n, return its mirror distance.
The mirror distance of an integer n is defined as the absolute difference between n and the integer obtained by reversing the decimal digits of n. Any leading zeros resulting from the digit reversal are ignored when interpreting the reversed number.
Constraints:
n
Given an integer n, return its mirror distance.
The mirror distance of an integer n is defined as the absolute difference between n and the integer obtained by reversing the decimal digits of n. Any leading zeros resulting from the digit reversal are ignored when interpreting the reversed number.
Constraints:
n