Subsets & Combinations - Combination Sum (Reuse Allowed)
Given the following partial memoization cache for Combination Sum (Reuse Allowed) with candidates = [2,3,5] and target = 8:
memo = {
0: [[]],
2: [[2]],
3: [[3]],
4: [[2,2]],
5: [[5]],
6: [[3,3],[2,2,2]],
7: [[2,5],[3,2,2]],
8: [[3,5],[2,3,3],[2,2,2,2]]
}
Which candidate was most likely chosen last to form the combination [2,3,3] for target 8?
