A Faster Pseudopolynomial Time Algorithm for Subset Sum
Data Structures and Algorithms
2016-12-13 v3
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.
Cite
@article{arxiv.1507.02318,
title = {A Faster Pseudopolynomial Time Algorithm for Subset Sum},
author = {Konstantinos Koiliaris and Chao Xu},
journal= {arXiv preprint arXiv:1507.02318},
year = {2016}
}
Comments
Fixed Lemma 3.3