Maximum Product of Two Digits

Solution Code

Time Complexity

O(log n)

Space Complexity

O(1)