paper

On Problems Related to Unbounded SubsetSum: A Unified Combinatorial Approach

arXiv:2202.13484

Abstract

Unbounded SubsetSum is a classical textbook problem: given integers , we need to find if there exists satisfying . In its all-target version, is given and answer for all integers is required. In this paper, we study three generalizations of this simple problem: All-Target Unbounded Knapsack, All-Target CoinChange and Residue Table. By new combinatorial insights into the structures of solutions, we present a novel two-phase approach for such problems. As a result, we present the first near-linear algorithms for CoinChange and Residue Table, which runs in and time deterministically. We also show if we can compute convolution for -length arrays in time, then All-Target Unbounded Knapsack can be solved in time, thus establishing sub-quadratic equivalence between All-Target Unbounded Knapsack and convolution.

On Problems Related to Unbounded SubsetSum: A Unified Combinatorial Approach · wovepaper