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

05/07/2019
by   Marcin Mucha, et al.
0

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^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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/13/2021

Classical and quantum dynamic programming for Subset-Sum and variants

Subset-Sum is an NP-complete problem where one must decide if a multiset...
research
10/27/2021

Average-Case Subset Balancing Problems

Given a set of n input integers, the Equal Subset Sum problem asks us to...
research
03/20/2022

Subset Sum in O(n^16log(n))

This extensive revision of my paper "Description of an O(poly(n)) Algori...
research
05/24/2021

Efficient Reporting of Top-k Subset Sums

The "Subset Sum problem" is a very well-known NP-complete problem. In th...
research
01/17/2023

Subset Sum in Time 2^n/2 / poly(n)

A major goal in the area of exact exponential algorithms is to give an a...
research
12/06/2022

Improved Approximation Schemes for (Un-)Bounded Subset-Sum and Partition

We consider the SUBSET SUM problem and its important variants in this pa...
research
10/16/2020

Improving Schroeppel and Shamir's Algorithm for Subset Sum via Orthogonal Vectors

We present an 𝒪^⋆(2^0.5n) time and 𝒪^⋆(2^0.249999n) space randomized alg...

Please sign up or login with your details

Forgot password? Click here to reset