Subset Sum in Time $2^{n/2} / poly(n)$
Abstract
A major goal in the area of exact exponential algorithms is to give an algorithm for the (worst-case) -input Subset Sum problem that runs in time for some constant . In this paper we give a Subset Sum algorithm with worst-case running time for a constant in standard word RAM or circuit RAM models. To the best of our knowledge, this is the first improvement on the classical ``meet-in-the-middle'' algorithm for worst-case Subset Sum, due to Horowitz and Sahni, which can be implemented in time in these memory models. Our algorithm combines a number of different techniques, including the ``representation method'' introduced by Howgrave-Graham and Joux and subsequent adaptations of the method in Austrin, Kaski, Koivisto, and Nederlof, and Nederlof and Wegrzycki, and ``bit-packing'' techniques used in the work of Baran, Demaine, and Patrascu on subquadratic algorithms for 3SUM.
Cite
@article{arxiv.2301.07134,
title = {Subset Sum in Time $2^{n/2} / poly(n)$},
author = {Xi Chen and Yaonan Jin and Tim Randolph and Rocco A. Servedio},
journal= {arXiv preprint arXiv:2301.07134},
year = {2023}
}
Comments
26 pages, 9 figures