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 Solvers11
Suggested Problems
-
Construct a string from letters and counts
147 Solvers
-
Arrange vector in ascending order
836 Solvers
-
Get the elements of diagonal and antidiagonal for any m-by-n matrix
524 Solvers
-
321 Solvers
-
395 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!