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

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

7 May 2019arXiv:1905.02424links table onlyarchive 2025-07-28

Marcin Mucha, Jesper Nederlof, Jakub Pawlewicz, Karol Węgrzycki

The archive published only this paper's code-link row. Authors, date and abstract are from arXiv's metadata (CC0), read from the Kaggle arXiv metadata snapshot of 2026-09-12 where its title matched the archive's; the title is the archive's.

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 ⊆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)) ≤O^*(1.7321ⁿ) time and is based on the meet-in-the-middle technique. In this paper, we improve upon this algorithm and give O^*(1.7088ⁿ) 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ⁿ) time. With read-only access to the exponentially many random bits, we show a randomized algorithm running in O^*(2.6817ⁿ) time and polynomial space.

PaperPDFCode

Code

CostaBru/knapsack mentioned on GitHub report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

Not run by Syntology. Nothing on this page verifies that the listed code works.

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections