Problem 58971. Compute the maximal product of any two numbers whose concatenation is n
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 commentsProblem Recent Solvers8
Suggested Problems
-
Return a list sorted by number of occurrences
2888 Solvers
-
1809 Solvers
-
Sort numbers by outside digits
158 Solvers
-
Remove the two elements next to NaN value
699 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
448 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!