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 Solvers8
Suggested Problems
-
3766 Solvers
-
Project Euler: Problem 6, Natural numbers, squares and sums.
2538 Solvers
-
Find out missing number from a vector of 9 elements
321 Solvers
-
346 Solvers
-
373 Solvers
More from this Author322
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!