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
-
30181 Solvers
-
Project Euler: Problem 2, Sum of even Fibonacci
2838 Solvers
-
Unique values without using UNIQUE function
447 Solvers
-
Create a random logical vector of N elements of which M are true.
103 Solvers
-
69 Solvers
More from this Author323
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!