Equivalences between triangle and range query problems
Lech Duraj, Krzysztof Kleiner, Adam Polak, Virginia Vassilevska, Williams

TL;DR
This paper establishes a broad equivalence among a class of range query problems, linking their complexity to triangle counting in graphs, and introduces new algorithms and insights into related triangle and matrix multiplication problems.
Contribution
It proves that a natural class of range query problems share the same complexity, and connects them to triangle counting, providing new algorithms and complexity insights.
Findings
Range query problems are equivalent in complexity to triangle counting.
Triangle listing can be achieved with a state-of-the-art algorithm.
Reductions between triangle problems and matrix products are established.
Abstract
We define a natural class of range query problems, and prove that all problems within this class have the same time complexity (up to polylogarithmic factors). The equivalence is very general, and even applies to online algorithms. This allows us to obtain new improved algorithms for all of the problems in the class. We then focus on the special case of the problems when the queries are offline and the number of queries is linear. We show that our range query problems are runtime-equivalent (up to polylogarithmic factors) to counting for each edge in an -edge graph the number of triangles through . This natural triangle problem can be solved using the best known triangle counting algorithm, running in time. Moreover, if , the running time is known to be tight (within factors) under…
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.
