language-icon Old Web
English
Sign In

Improved Subquadratic 3SUM

2017 
In the 3SUM problem we are given three lists $$\mathcal {A}$$A, $$\mathcal {B}$$B, $$\mathcal {C}$$C, of n real numbers, and are asked to find $$(a,b,c)\in \mathcal {A}\times \mathcal {B}\times \mathcal {C}$$(a,b,c)źA×B×C such that $$a+b=c$$a+b=c. The longstanding 3SUM conjecture--that 3SUM could not be solved in subquadratic time--was recently refuted by GrOnlund and Pettie. They presented $$\hbox {O}\left( n^2(\log \log n)^{\alpha }/(\log n)^{\beta }\right) $$On2(loglogn)ź/(logn)β algorithms for 3SUM and for the related problems Convolution3SUM and ZeroTriangle, where $$\alpha $$ź and $$\beta $$β are constants that depend on the problem and whether the algorithm is deterministic or randomized (and for ZeroTriangle the main factor is $$n^3$$n3 rather than $$n^2$$n2). We simplify GrOnlund and Pettie's algorithms and obtain better bounds, namely, $$\alpha =\beta =1$$ź=β=1, deterministically. For 3SUM our bound is better than both the deterministic and the randomized bounds of GrOnlund and Pettie. For the other problems our bounds are better than their deterministic bounds, and match their randomized bounds.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    14
    References
    28
    Citations
    NaN
    KQI
    []