Problem 4041 · Hard

Minimum Operations to Form Subset Sum II

Each element may be doubled or halved at a cost; a subset-sum table keeps the cheapest way to reach every sum, element by element.

Open the interactive visualisation