A Subquadratic Algorithm for 3XOR
Martin Dietzfelbinger, Philipp Schlag, Stefan Walzer

TL;DR
This paper introduces a simple deterministic quadratic-time algorithm for the 3XOR problem using Patricia tries, and also presents a randomized algorithm with expected subquadratic time, advancing the state of the art in this fundamental problem.
Contribution
The paper provides the first simple deterministic quadratic algorithm for 3XOR and a new randomized expected subquadratic algorithm, improving over previous methods.
Findings
Deterministic algorithm runs in quadratic time using Patricia trie structure.
Randomized algorithm achieves expected running time subquadratic in n.
Reductions show 3XOR's relation to other problems like SetDisjointness and SetIntersection.
Abstract
Given a set of binary words of equal length , the 3XOR problem asks for three elements such that , where denotes the bitwise XOR operation. The problem can be easily solved on a word RAM with word length in time . Using Han's fast integer sorting algorithm (2002/2004) this can be reduced to . With randomization or a sophisticated deterministic dictionary construction, creating a hash table for with constant lookup time leads to an algorithm with (expected) running time . At present, seemingly no faster algorithms are known. We present a surprisingly simple deterministic, quadratic time algorithm for 3XOR. Its core is a version of the Patricia trie for , which makes it possible to traverse the set in ascending order for arbitrary in linear time.…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
