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

13 Solutions

8 Solvers

Last Solution submitted on Dec 07, 2023

Last 200 Solutions

Solution Comments

Show comments
Loading...