There is a list of digits, lets say:
"1", "1", "9", "9"
And a multiply operator; how to make the max product. The answer for above example is:
91 * 91 = 8281
I find this post by Fawn, but cannot generalize to other examples. Is it correct?
for list B:
B = 9 9 9 8 8 8 8 7 7 7 7 6 6
The answer is $998776$ and $9888776$, and Fawn approach does not work there.
This post provide solution when there is no duplicate digit.