All-Integers 3SUM (3SUM)

From Algorithm Wiki
Revision as of 10:30, 15 February 2023 by Admin (talk | contribs) (Created page with "{{DISPLAYTITLE:All-Integers 3SUM (3SUM)}} == Description == Given three lists $A, B, C$ of $n$ integers each, output the list of all integers $a \in A$ such that there exist $b \in B,c \in C$ with $a + b + c = 0$. == Related Problems == Generalizations: 3SUM Related: Real 3SUM, 3SUM' == Parameters == <pre>n: number of integers in each set</pre> == Table of Algorithms == Currently no algorithms in our database for the given problem. == Reductions...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

Given three lists $A, B, C$ of $n$ integers each, output the list of all integers $a \in A$ such that there exist $b \in B,c \in C$ with $a + b + c = 0$.

Related Problems

Generalizations: 3SUM

Related: Real 3SUM, 3SUM'

Parameters

n: number of integers in each set

Table of Algorithms

Currently no algorithms in our database for the given problem.

Reductions TO Problem

Problem Implication Year Citation Reduction
3SUM if: to-time: $O(n^{2-\epsilon})$ for some $\epsilon > {0}$
then: from-time: $O(n^{1.5} + n^{2-\epsilon / 2})$
2018 https://dl.acm.org/doi/pdf/10.1145/3186893, Theorem 8.1 link

Reductions FROM Problem

Problem Implication Year Citation Reduction
3SUM if: to-time: $T(n)$
then: from-time: $O(T(n))$
link