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 Solvers12
Suggested Problems
-
Extract leading non-zero digit
2258 Solvers
-
323 Solvers
-
The Hitchhiker's Guide to MATLAB
3429 Solvers
-
669 Solvers
-
Find indices of diagonal elements
73 Solvers
More from this Author330
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!