A Near-Linear Pseudopolynomial Time Algorithm for Subset Sum
A Near-Linear Pseudopolynomial Time Algorithm for Subset Sum
复制标题
子集和的近线性伪多项式时间算法
DOI:
10.1137/1.9781611974782.69
复制
发表时间:
2017
期刊:
影响因子:
--
通讯作者:
K. Bringmann
中科院分区:
文献类型:
--
作者:
K. Bringmann
Given a setZofnpositive integers and a target valuet, the SuBSETSuM problem asks whether any subset ofZsums to t. A textbook pseudopolynomial time algorithm by Bellman from 1957 solves SuBSETSuM in timeO(nt). This has been improved toO(nmaxZ) by Pisinger [J. Algorithms’99] and recently to by Koiliaris and Xu [SODA’17].Here we present a simple and elegant randomized algorithm running in timeÕ(n+1). This improves upon a classic algorithm and is likely to be near-optimal, since it matches conditional lower bounds from SetCoyerandk-Clique.We then use our new algorithm and additional tricks to improve the best known polynomial space solution from timeÕ(n3t) and spaceÕ(n2) to timeÕ(nt) and spaceÕ(nlogt), assuming the Extended Riemann Hypothesis. Unconditionally, we obtain timeÕ(nt1+e) and spaceÕ(nte) for any constant ∊ > 0.
登录
查看更多内容
DOI:
--
发表时间:
2015
期刊:
Symposium on Theoretical Aspects of Computer Science
影响因子:
--
作者:
Per Austrin;P. Kaski;Mikko Koivisto;Jesper Nederlof
通讯作者:
Jesper Nederlof
DOI:
--
发表时间:
1980
期刊:
影响因子:
--
作者:
G. Gens;E. Levner
通讯作者:
E. Levner
影响因子:
1.1
作者:
David Pisinger
通讯作者:
David Pisinger
DOI:
--
发表时间:
2013
期刊:
Dagstuhl Reports
影响因子:
--
作者:
T. Husfeldt;R. Paturi;G. Sorkin;Ryan Williams
通讯作者:
Ryan Williams
DOI:
--
发表时间:
2014
期刊:
Latin American Symposium on Theoretical Informatics
影响因子:
--
作者:
Martin Fürer
通讯作者:
Martin Fürer