Problem 4040 · Medium

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.

Open the interactive visualisation