Minimum Operations to Form Subset Sum I
Each value can be doubled and then halved, and each choice has a cost; a sum table finds the cheapest subset that reaches the target.
Each value can be doubled and then halved, and each choice has a cost; a sum table finds the cheapest subset that reaches the target.