Tap here to switch tabs
Problem
Submissions

Problem: Maximum Product of Two Digits

med
30 min
Try to solve the Maximum Product of Two Digits problem.

Statement

Given a positive integer n, return the maximum product that can be obtained by multiplying any two digits of n.

Constraints:

  • 10≤10 \leq n ≤109\leq 10^9

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Maximum Product of Two Digits

med
30 min
Try to solve the Maximum Product of Two Digits problem.

Statement

Given a positive integer n, return the maximum product that can be obtained by multiplying any two digits of n.

Constraints:

  • 10≤10 \leq n ≤109\leq 10^9