Write a function that takes an input n and computes the maximal product of numbers that concatenate to n. For example, if n = 1234, then the products are 1 x 234 = 234, 12 x 34 = 408, and 123 x 4 = 492, and the maximal product is 492. If n < 10, set the maximal product to zero.

Solution Stats

14 Solutions

9 Solvers

Last Solution submitted on Apr 24, 2026

Last 200 Solutions

Solution Comments

Show comments
Loading...

Problem Recent Solvers9

Suggested Problems

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!