Preprint
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 $\tilde O(n^2+t)$ time. This nearly matches the fastest known algorithm for detecting a $6$-cycle in $O(n^2)$ time by Yuster and Zwick (1997). Previously, a folklore $O(n^2+t)$-time algorithm was known for the task of listing $4$-cycles.
Keywords
All Related Versions
This publication has 14 references indexed in Scilit:
- Simpler Reductions from Exact Triangle2024
- Graph Pattern Detection: Hardness for all Induced Patterns and Faster Noninduced CyclesSIAM Journal on Computing, 2021
- Evaluating balance on social networks from their simple cyclesJournal of Complex Networks, 2017
- First-order queries on structures of bounded degree are computable with constant delayACM Transactions on Computational Logic, 2007
- Finding Even Cycles Even FasterSIAM Journal on Discrete Mathematics, 1997
- Finding and counting given length cyclesAlgorithmica, 1997
- Arboricity and Subgraph Listing AlgorithmsSIAM Journal on Computing, 1985
- On Algorithms for Enumerating All Circuits of a GraphSIAM Journal on Computing, 1976
- Bounds on Backtrack Algorithms for Listing Cycles, Paths, and Spanning TreesNetworks, 1975
- Finding All the Elementary Circuits of a Directed GraphSIAM Journal on Computing, 1975