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
-
Find the two most distant points
2956 Solvers
-
Back to basics 20 - singleton dimensions
279 Solvers
-
Compute a dot product of two vectors x and y
1054 Solvers
-
489 Solvers
-
Find smallest number to leave a remainder of 1
51 Solvers
More from this Author327
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!