English

Listing 6-Cycles

Data Structures and Algorithms 2023-10-24 v1

Abstract

Listing copies of small subgraphs (such as triangles, 44-cycles, small cliques) in the input graph is an important and well-studied problem in algorithmic graph theory. In this paper, we give a simple algorithm that lists tt (non-induced) 66-cycles in an nn-node undirected graph in O~(n2+t)\tilde O(n^2+t) time. This nearly matches the fastest known algorithm for detecting a 66-cycle in O(n2)O(n^2) time by Yuster and Zwick (1997). Previously, a folklore O(n2+t)O(n^2+t)-time algorithm was known for the task of listing 44-cycles.

Keywords

Cite

@article{arxiv.2310.14575,
  title  = {Listing 6-Cycles},
  author = {Ce Jin and Virginia Vassilevska Williams and Renfei Zhou},
  journal= {arXiv preprint arXiv:2310.14575},
  year   = {2023}
}

Comments

10 pages; SOSA 2024

R2 v1 2026-06-28T12:58:26.755Z