arXiv · 2604.23169
A Linear-Time Algorithm for Finding an Odd/Even Cycle Through Two Specified Vertices
Abstract
We present a deterministic linear-time algorithm for finding an odd/even cycle through two specified vertices in an undirected graph. This is shown in a generalized form as follows: Let $\Gamma$ be any group in which every element is of order at most $2$. For a given $\Gamma$-labeled graph with two specified vertices (or edges), we can determine in linear time whether there exist two cycles with distinct labels that are through both of the two specified vertices (or edges), and find such cycles if yes.
Explore related subjects
Keep this discovery
Takumi Kano, Yutaro Yamaguchi. 2026-04-25. A Linear-Time Algorithm for Finding an Odd/Even Cycle Through Two Specified Vertices. https://arxiv.org/abs/2604.23169
Cite the original work for its findings. Save a collection to share your selection of sources.