A Linear-Time Algorithm for Finding an Odd Cycle Through Two Specified Vertices

📅 2026-04-25
📈 Citations: 0
Influential: 0
📄 PDF

career value

226K/year
🤖 AI Summary
This work addresses the problem of efficiently detecting and constructing odd cycles passing through two specified vertices in undirected graphs. The authors present the first deterministic linear-time algorithm for determining, in a Γ-labeled graph—where Γ is a group in which every element has order at most two—whether there exist two cycles passing through given vertices (or edges) with distinct group labels, and explicitly constructing such cycles when they exist. The approach combines graph traversal with structural analysis of group labels, providing a unified framework for constrained odd-cycle detection. With a time complexity of O(n + m), the algorithm significantly outperforms existing methods and is well-suited for large-scale graph data applications.

Technology Category

Application Category

📝 Abstract
We present a deterministic linear-time algorithm for finding an odd cycle through two specified vertices in an undirected graph. This is shown in a generalized form as follows: Let $Γ$ be any group in which every element is of order at most $2$. For a given $Γ$-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.
Problem

Research questions and friction points this paper is trying to address.

odd cycle
specified vertices
undirected graph
cycle detection
Innovation

Methods, ideas, or system contributions that make the work stand out.

linear-time algorithm
odd cycle
group-labeled graph
deterministic algorithm
cycle detection
🔎 Similar Papers