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 Solvers8
Suggested Problems
-
3996 Solvers
-
The Hitchhiker's Guide to MATLAB
3404 Solvers
-
10706 Solvers
-
Rotate input square matrix 90 degrees CCW without rot90
679 Solvers
-
Create a vector whose elements depend on the previous element
785 Solvers
More from this Author321
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!