Truly Low-Space Element Distinctness and Subset Sum via Pseudorandom Hash Functions

11/02/2021
by   Lijie Chen, et al.
0

We consider low-space algorithms for the classic Element Distinctness problem: given an array of n input integers with O(log n) bit-length, decide whether or not all elements are pairwise distinct. Beame, Clifford, and Machmouchi [FOCS 2013] gave an Õ(n^1.5)-time randomized algorithm for Element Distinctness using only O(log n) bits of working space. However, their algorithm assumes a random oracle (in particular, read-only random access to polynomially many random bits), and it was asked as an open question whether this assumption can be removed. In this paper, we positively answer this question by giving an Õ(n^1.5)-time randomized algorithm using O(log ^3 nloglog n) bits of space, with one-way access to random bits. As a corollary, we also obtain a poly(n)-space O^*(2^0.86n)-time randomized algorithm for the Subset Sum problem, removing the random oracles required in the algorithm of Bansal, Garg, Nederlof, and Vyas [STOC 2017]. The main technique underlying our results is a pseudorandom hash family based on iterative restrictions, which can fool the cycle-finding procedure in the algorithms of Beame et al. and Bansal et al.

READ FULL TEXT

page 8

page 22

research
10/14/2022

Time-Space Tradeoffs for Element Distinctness and Set Intersection via Pseudorandomness

In the Element Distinctness problem, one is given an array a_1,…, a_n of...
research
11/07/2020

Fast Low-Space Algorithms for Subset Sum

We consider the canonical Subset Sum problem: given a list of positive i...
research
01/11/2021

Strictly In-Place Algorithms for Permuting and Inverting Permutations

We revisit the problem of permuting an array of length n according to a ...
research
11/01/2017

Typically-Correct Derandomization for Small Time and Space

Suppose a language L can be decided by a bounded-error randomized algori...
research
06/15/2023

Easier Estimation of Extremes under Randomized Response

In this brief note, we consider estimation of the bitwise combination x_...
research
03/26/2020

Succinct Dynamic Ordered Sets with Random Access

The representation of a dynamic ordered set of n integer keys drawn from...
research
06/29/2018

High Dimensional Discrete Integration by Hashing and Optimization

Recently Ermon et al. (2013) pioneered an ingenuous way to practically c...

Please sign up or login with your details

Forgot password? Click here to reset