Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
167 tokens/sec
GPT-4o
7 tokens/sec
Gemini 2.5 Pro Pro
42 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
38 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Equal-Subset-Sum Faster Than the Meet-in-the-Middle (1905.02424v2)

Published 7 May 2019 in cs.DS

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

Citations (14)

Summary

We haven't generated a summary for this paper yet.