Listing 6-Cycles
Abstract
Listing copies of small subgraphs (such as triangles, 4-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 t (non-induced) 6-cycles in an n-node undirected graph in O(n2+t) time. This nearly matches the fastest known algorithm for detecting a 6-cycle in O(n2) time by Yuster and Zwick (1997). Previously, a folklore O(n2+t)-time algorithm was known for the task of listing 4-cycles.
0
Turn this paper into a full lesson
ArcXiv compiles a staged curriculum from this paper: 8-12 lessons across beginner → advanced, synthesised section guides, visuals, flashcards, a quiz, exercises, and on-demand deep dives per section. Grounded in the abstract, never invented.