Complement of Base 10 Integer

Solution Code
Video GuideLeetcode Daily

Time Complexity

O(log N)

Space Complexity

O(1)