Write a function that takes an input n and computes the maximal product of numbers that concatenate to n. For example, if
, then the products are
,
, and
, and the maximal product is 492. If
, set the maximal product to zero.
Solution Stats
Solution Comments
Show comments
Loading...
Problem Recent Solvers12
Suggested Problems
-
3099 Solvers
-
Project Euler: Problem 8, Find largest product in a large string of numbers
1334 Solvers
-
701 Solvers
-
Area of an equilateral triangle
7022 Solvers
-
369 Solvers
More from this Author329
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!