A Faster Pseudopolynomial Time Algorithm for Subset Sum
Konstantinos Koiliaris, Chao Xu

TL;DR
This paper introduces a new divide-and-conquer algorithm that significantly speeds up the computation of subset sums, outperforming traditional dynamic programming methods for various input sizes.
Contribution
The paper presents the fastest known algorithm for subset sum, improving the time complexity to $ ilde{O}( ext{min}\{ ext{sqrt}(n)u, u^{4/3}, ext{sum of elements} ight"), using a novel divide-and-conquer approach.
Findings
Achieves faster computation of subset sums than dynamic programming.
Provides a new algorithm with improved theoretical time bounds.
Extends the approach to cyclic groups for broader applications.
Abstract
Given a multiset of positive integers and a target integer , the subset sum problem is to decide if there is a subset of that sums up to . We present a new divide-and-conquer algorithm that computes all the realizable subset sums up to an integer in , where is the sum of all elements in and hides polylogarithmic factors. This result improves upon the standard dynamic programming algorithm that runs in time. To the best of our knowledge, the new algorithm is the fastest general algorithm for this problem. We also present a modified algorithm for cyclic groups, which computes all the realizable subset sums within the group in time, where is the order of the group.
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
TopicsAlgorithms and Data Compression · Data Management and Algorithms · Image Retrieval and Classification Techniques
