Hardness of Detecting Abelian and Additive Square Factors in Strings

07/20/2021
by   Jakub Radoszewski, et al.
0

We prove 3SUM-hardness (no strongly subquadratic-time algorithm, assuming the 3SUM conjecture) of several problems related to finding Abelian square and additive square factors in a string. In particular, we conclude conditional optimality of the state-of-the-art algorithms for finding such factors. Overall, we show 3SUM-hardness of (a) detecting an Abelian square factor of an odd half-length, (b) computing centers of all Abelian square factors, (c) detecting an additive square factor in a length-n string of integers of magnitude n^𝒪(1), and (d) a problem of computing a double 3-term arithmetic progression (i.e., finding indices i j such that (x_i+x_j)/2=x_(i+j)/2) in a sequence of integers x_1,…,x_n of magnitude n^𝒪(1). Problem (d) is essentially a convolution version of the AVERAGE problem that was proposed in a manuscript of Erickson. We obtain a conditional lower bound for it with the aid of techniques recently developed by Dudek et al. [STOC 2020]. Problem (d) immediately reduces to problem (c) and is a step in reductions to problems (a) and (b). In conditional lower bounds for problems (a) and (b) we apply an encoding of Amir et al. [ICALP 2014] and extend it using several string gadgets that include arbitrarily long Abelian-square-free strings. Our reductions also imply conditional lower bounds for detecting Abelian squares in strings over a constant-sized alphabet. We also show a subquadratic upper bound in this case, applying a result of Chan and Lewenstein [STOC 2015].

READ FULL TEXT

page 3

page 9

page 11

page 13

page 15

page 17

page 19

page 21

research
11/14/2022

Stronger 3-SUM Lower Bounds for Approximate Distance Oracles via Additive Combinatorics

The "short cycle removal" technique was recently introduced by Abboud, B...
research
09/25/2019

Weighted Shortest Common Supersequence Problem Revisited

A weighted string, also known as a position weight matrix, is a sequence...
research
10/04/2018

Longest Property-Preserved Common Factor

In this paper we introduce a new family of string processing problems. W...
research
06/29/2020

The Number of Repetitions in 2D-Strings

The notions of periodicity and repetitions in strings, and hence these o...
research
04/09/2018

Hardness of Consensus Problems for Circular Strings and Time Series Averaging

Consensus problems for strings and sequences appear in numerous applicat...
research
08/19/2021

A Conditional Lower Bound for Episode Matching

Given two strings S and P, the Episode Matching problem is to compute th...
research
11/14/2022

Removing Additive Structure in 3SUM-Based Reductions

Our work explores the hardness of 3SUM instances without certain additiv...

Please sign up or login with your details

Forgot password? Click here to reset