We consider the parameterised -Long Cycle problem, in which you are given an -vertex undirected graph , a specified edge in , and a positive integer , and are asked to decide if the graph has a simple cycle through of length at least . We show how to solve the problem in time, improving over the time algorithm by [Fomin et al., TALG 2024], but not the more recent time algorithm by [Eiben, Koana, and Wahlström, SODA 2024]. When the graph is bipartite, we can solve the problem in time, matching the fastest known algorithm for finding a cycle of length exactly in an undirected bipartite graph [Björklund et al., JCSS 2017]. Our results follow the approach taken by [Fomin et al., TALG 2024], which describes an efficient algorithm for finding cycles using many colours in a vertex-coloured undirected graph. Our contribution is twofold. First, we describe a new algorithm and analysis for the central colourful cycle problem, with the aim of providing a comparatively short and self-contained proof of correctness. Second, we give tighter reductions from -Long Cycle to the colourful cycle problem, which lead to our improved running times.

生成讲解博客的中文版本

生成AI智能校验的中文版本