• + 1 comment

    That's rather sloppy of them. The greedy algorithm fails on e.g. making 84 from [2, 3, 7, 12, 14], since the optimal factorization is 7*12 which you can't find if you start by selecting 14; you'd think they'd include some such tests.