Subsets & Combinations - Matchsticks to Square
Given the following memo dictionary state from the bitmask backtracking solution for n=3 matchsticks, which input list of matchsticks could have produced it? Memo keys are tuples (used_mask, curr_sum, sides_formed) with boolean values.
memo = {
(0b001, 1, 0): True,
(0b011, 2, 0): False,
(0b111, 0, 3): True
}
Which of these inputs is consistent with this memo?
