Enumerating Small Cycles
Abstract
In a seminal result of Yuster and Zwick, they showed that for any fixed , the even cycle can be detected in an -vertex graph in time . For -cycles, a folklore algorithm extends to listing: for any , we can list different -cycles, if such exist, in time. Recently, Jin, Vassilevska-Williams, and Zhou obtained similar bounds for listing -cycles. In this work, we generalize the above to cycles of sizes and ; we show that for all , we can list distinct -cycles in time. In fact, our algorithm gives enumeration with pre-processing time and delay . Additionally, for any fixed , we present an optimal enumeration (and hence also listing) algorithm for all cycles of size at most . More generally, for any fixed and any , we present an algorithm with preprocessing time and delay that enumerates all cycles of sizes in the range .
Cite
@article{arxiv.2607.27147,
title = {Enumerating Small Cycles},
author = {Or Stern and Or Zamir},
journal= {arXiv preprint arXiv:2607.27147},
year = {2026}
}