pith. sign in

arxiv: 1905.02424 · v2 · pith:GFXRGDTTnew · submitted 2019-05-07 · 💻 cs.DS

Equal-Subset-Sum Faster Than the Meet-in-the-Middle

classification 💻 cs.DS
keywords algorithmequal-subset-sumproblempolynomialspacetimemeet-in-the-middleruns
0
0 comments X
read the original abstract

In the Equal-Subset-Sum problem, we are given a set $S$ of $n$ integers and the problem is to decide if there exist two disjoint nonempty subsets $A,B \subseteq S$, whose elements sum up to the same value. The problem is NP-complete. The state-of-the-art algorithm runs in $O^{*}(3^{n/2}) \le O^{*}(1.7321^n)$ time and is based on the meet-in-the-middle technique. In this paper, we improve upon this algorithm and give $O^{*}(1.7088^n)$ 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 $O^{*}(3^n)$ time. With read-only access to the exponentially many random bits, we show a randomized algorithm running in $O^{*}(2.6817^n)$ time and polynomial space.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.

Forward citations

Cited by 1 Pith paper

Reviewed papers in the Pith corpus that reference this work. Sorted by Pith novelty score.

  1. Subset Balancing and Generalized Subset Sum via Lattices

    cs.DS 2026-04 unverdicted novelty 7.0

    Reduces Subset Balancing over [-d,d] to SVP_infinity in dimension n+1, giving time O((6 sqrt(2 pi e))^n) deterministic and O(2^{2.443 n}) randomized, independent of d for d >=15, with extensions to convex bodies and t...