English

A Randomized Algorithm for Long Directed Cycle

Data Structures and Algorithms 2015-11-02 v1

Abstract

Given a directed graph GG and a parameter kk, the {\sc Long Directed Cycle (LDC)} problem asks whether GG contains a simple cycle on at least kk vertices, while the {\sc kk-Path} problems asks whether GG contains a simple path on exactly kk vertices. Given a deterministic (randomized) algorithm for {\sc kk-Path} as a black box, which runs in time t(G,k)t(G,k), we prove that {\sc LDC} can be solved in deterministic time O(max{t(G,2k),4k+o(k)})O^*(\max\{t(G,2k),4^{k+o(k)}\}) (randomized time O(max{t(G,2k),4k})O^*(\max\{t(G,2k),4^k\})). In particular, we get that {\sc LDC} can be solved in randomized time O(4k)O^*(4^k).

Keywords

Cite

@article{arxiv.1510.08892,
  title  = {A Randomized Algorithm for Long Directed Cycle},
  author = {Meirav Zehavi},
  journal= {arXiv preprint arXiv:1510.08892},
  year   = {2015}
}
R2 v1 2026-06-22T11:32:37.692Z