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
-
475 Solvers
-
Generate N equally spaced intervals between -L and L
954 Solvers
-
Numbers spiral diagonals (Part 1)
305 Solvers
-
65 Solvers
-
Approximation of Pi (vector inputs)
281 Solvers
More from this Author328
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!