English

Listing 4-Cycles

Data Structures and Algorithms 2022-11-21 v1

Abstract

In this note we present an algorithm that lists all 44-cycles in a graph in time O~(min(n2,m4/3)+t)\tilde{O}(\min(n^2,m^{4/3})+t) where tt is their number. Notably, this separates 44-cycle listing from triangle-listing, since the latter has a (min(n3,m3/2)+t)1o(1)(\min(n^3,m^{3/2})+t)^{1-o(1)} lower bound under the 33-SUM Conjecture. Our upper bound is conditionally tight because (1) O(n2,m4/3)O(n^2,m^{4/3}) is the best known bound for detecting if the graph has any 44-cycle, and (2) it matches a recent (min(n3,m3/2)+t)1o(1)(\min(n^3,m^{3/2})+t)^{1-o(1)} 33-SUM lower bound for enumeration algorithms. The latter lower bound was proved very recently by Abboud, Bringmann, and Fischer [arXiv, 2022] and independently by Jin and Xu [arXiv, 2022]. In an independent work, Jin and Xu [arXiv, 2022] also present an algorithm with the same time bound.

Keywords

Cite

@article{arxiv.2211.10022,
  title  = {Listing 4-Cycles},
  author = {Amir Abboud and Seri Khoury and Oree Leibowitz and Ron Safier},
  journal= {arXiv preprint arXiv:2211.10022},
  year   = {2022}
}
R2 v1 2026-06-28T06:10:56.515Z