Equal-Subset-Sum Faster Than the Meet-in-the-Middle
Abstract
In the Equal-Subset-Sum problem, we are given a set of integers and the problem is to decide if there exist two disjoint nonempty subsets , whose elements sum up to the same value. The problem is NP-complete. The state-of-the-art algorithm runs in time and is based on the meet-in-the-middle technique. In this paper, we improve upon this algorithm and give worst case Monte Carlo algorithm. This answers the open problem from Woeginger's inspirational survey. Additionally, we analyse the polynomial space algorithm for Equal-Subset-Sum. A naive polynomial space algorithm for Equal-Subset-Sum runs in time. With read-only access to the exponentially many random bits, we show a randomized algorithm running in time and polynomial space.
Cite
@article{arxiv.1905.02424,
title = {Equal-Subset-Sum Faster Than the Meet-in-the-Middle},
author = {Marcin Mucha and Jesper Nederlof and Jakub Pawlewicz and Karol Węgrzycki},
journal= {arXiv preprint arXiv:1905.02424},
year = {2019}
}
Comments
22 pages