English

Listing 6-Cycles in Sparse Graphs

Data Structures and Algorithms 2024-12-16 v2

Abstract

This work considers the problem of output-sensitive listing of occurrences of 2k2k-cycles for fixed constant k2k\geq 2 in an undirected host graph with mm edges and tt 2k2k-cycles. Recent work of Jin and Xu (and independently Abboud, Khoury, Leibowitz, and Safier) [STOC 2023] gives an O(m4/3+t)O(m^{4/3}+t) time algorithm for listing 44-cycles, and recent work by Jin, Vassilevska Williams and Zhou [SOSA 2024] gives an O~(n2+t)\widetilde{O}(n^2+t) time algorithm for listing 66-cycles in nn node graphs. We focus on resolving the next natural question: obtaining listing algorithms for 66-cycles in the sparse setting, i.e., in terms of mm rather than nn. Previously, the best known result here is the better of Jin, Vassilevska Williams and Zhou's O~(n2+t)\widetilde{O}(n^2+t) algorithm and Alon, Yuster and Zwick's O(m5/3+t)O(m^{5/3}+t) algorithm. We give an algorithm for listing 66-cycles with running time O~(m1.6+t)\widetilde{O}(m^{1.6}+t). Our algorithm is a natural extension of Dahlgaard, Knudsen and St\"ockel's [STOC 2017] algorithm for detecting a 2k2k-cycle. Our main technical contribution is the analysis of the algorithm which involves a type of ``supersaturation'' lemma relating the number of 2k2k-cycles in a bipartite graph to the sizes of the parts in the bipartition and the number of edges. We also give a simplified analysis of Dahlgaard, Knudsen and St\"ockel's 2k2k-cycle detection algorithm (with a small polylogarithmic increase in the running time), which is helpful in analyzing our listing algorithm.

Keywords

Cite

@article{arxiv.2411.07499,
  title  = {Listing 6-Cycles in Sparse Graphs},
  author = {Virginia Vassilevska Williams and Alek Westover},
  journal= {arXiv preprint arXiv:2411.07499},
  year   = {2024}
}

Comments

19 pages

R2 v1 2026-06-28T19:56:25.188Z