A Simple Near-Linear Pseudopolynomial Time Randomized Algorithm for Subset Sum
Data Structures and Algorithms
2020-01-03 v3
Abstract
Given a multiset of positive integers and a target integer , the Subset Sum problem asks to determine whether there exists a subset of that sums up to . The current best deterministic algorithm, by Koiliaris and Xu [SODA'17], runs in time, where hides poly-logarithm factors. Bringmann [SODA'17] later gave a randomized time algorithm using two-stage color-coding. The running time is believed to be near-optimal. In this paper, we present a simple and elegant randomized algorithm for Subset Sum in time. Our new algorithm actually solves its counting version modulo prime , by manipulating generating functions using FFT.
Cite
@article{arxiv.1807.11597,
title = {A Simple Near-Linear Pseudopolynomial Time Randomized Algorithm for Subset Sum},
author = {Ce Jin and Hongxun Wu},
journal= {arXiv preprint arXiv:1807.11597},
year = {2020}
}
Comments
To appear in SOSA 2019 (fixed some typos)