#3536
Maximum Product of Two Digits
easy · 69.3% accepted · 67 likes · top 77%
Description
You are given a positive integer n.
Return the maximum product of any two digits in n.
Note: You may use the same digit twice if it appears more than once in n.
Solution