A Near-Linear Pseudopolynomial Time Algorithm for Subset Sum
Karl Bringmann

TL;DR
This paper introduces a randomized near-linear time algorithm for the Subset Sum problem, significantly improving efficiency and space complexity, and approaches optimality under certain complexity assumptions.
Contribution
A simple randomized algorithm for Subset Sum with near-linear time complexity, matching conditional lower bounds, and improved polynomial space solutions under the Extended Riemann Hypothesis.
Findings
New randomized algorithm runs in ten O(n+t) time.
Improved polynomial space solution with O(n \u007flog t) space.
Conditional near-optimality based on complexity hypotheses.
Abstract
Given a set of positive integers and a target value , the Subset Sum problem asks whether any subset of sums to . A textbook pseudopolynomial time algorithm by Bellman from 1957 solves Subset Sum in time . This has been improved to by Pisinger [J. Algorithms'99] and recently to by Koiliaris and Xu [SODA'17]. Here we present a simple randomized algorithm running in time . This improves upon a classic algorithm and is likely to be near-optimal, since it matches conditional lower bounds from Set Cover and k-Clique. We then use our new algorithm and additional tricks to improve the best known polynomial space solution from time and space to time and space , assuming the Extended Riemann Hypothesis. Unconditionally, we obtain time $\tilde O(n…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsComplexity and Algorithms in Graphs · Algorithms and Data Compression · Limits and Structures in Graph Theory
