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
-
6719 Solvers
-
Make a random, non-repeating vector.
11696 Solvers
-
Calculate the probability that at least two people in a group share the same birthday.
106 Solvers
-
374 Solvers
-
Mysterious digits operation (easy)
327 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!