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 Solvers10
Suggested Problems
-
19653 Solvers
-
Get the area codes from a list of phone numbers
1075 Solvers
-
287 Solvers
-
How long do each of the stages of the rocket take to burn?
493 Solvers
-
374 Solvers
More from this Author325
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!