LEETCODE
UNLOCKED
Problems
Donate
Premium
Mirror Distance of an Integer
Solution Code
Video Guide
Leetcode Daily
Time Complexity
O(
log n
)
Space Complexity
O(
1
)