Improved space-time tradeoffs for kSUM

Isaac Goldstein, Moshe Lewenstein, Ely Porat

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

Abstract

In the kSUM problem we are given an array of numbers a1,a2,⋯,an and we are required to determine if there are k different elements in this array such that their sum is 0. This problem is a parameterized version of the well-studied SUBSET-SUM problem, and a special case is the 3SUM problem that is extensively used for proving conditional hardness. Several works investigated the interplay between time and space in the context of SUBSET-SUM. Recently, improved time-space tradeoffs were proven for kSUM using both randomized and deterministic algorithms. In this paper we obtain an improvement over the best known results for the time-space tradeoff for kSUM. A major ingredient in achieving these results is a general self-reduction from kSUM to mSUM where m < k, and several useful observations that enable this reduction and its implications. The main results we prove in this paper include the following: (i) The best known Las Vegas solution to kSUM running in approximately O(nk-δ√2k) time and using O(nδ) space, for 0 ≤ δ ≤ 1. (ii) The best known deterministic solution to kSUM running in approximately O(nk-δ√k) time and using O(nδ) space, for 0 ≤ δ ≤ 1. (iii) A space-time tradeoff for solving kSUM using O(nδ) space, for δ > 1. (iv) An algorithm for 6SUM running in O(n4) time using just O(n2/3) space. (v) A solution to 3SUM on random input using O(n2) time and O(n1/3) space, under the assumption of a random read-only access to random bits.

Original languageEnglish
Title of host publication26th European Symposium on Algorithms, ESA 2018
EditorsHannah Bast, Grzegorz Herman, Yossi Azar
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (Print)9783959770811
DOIs
StatePublished - 1 Aug 2018
Event26th European Symposium on Algorithms, ESA 2018 - Helsinki, Finland
Duration: 20 Aug 201822 Aug 2018

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume112

Conference

Conference26th European Symposium on Algorithms, ESA 2018
Country/TerritoryFinland
CityHelsinki
Period20/08/1822/08/18

Keywords

  • KSUM
  • Self-reduction
  • Space-time tradeoff

All Science Journal Classification (ASJC) codes

  • Software

Fingerprint

Dive into the research topics of 'Improved space-time tradeoffs for kSUM'. Together they form a unique fingerprint.

Cite this