Search
⌘K
Get Premium
Leetcode 3536. Maximum Product of Two Digits
Given a positive integer n, return the maximum product obtainable by multiplying any two of its digits (a digit can be used twice if it appears multiple times). The task reduces to extracting the digits and choosing the two largest digits to maximize their product.
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.