English
Related papers

Related papers: Listing 4-Cycles

200 papers

A graph is $k$-degenerate if any induced subgraph has a vertex of degree at most $k$. In this paper we prove new algorithms for cliques and similar structures for these graphs. We design linear time Fixed-Parameter Tractable algorithms for…

Discrete Mathematics · Computer Science 2017-09-21 George Manoussakis

We present a deterministic O(n log log n) time algorithm for finding shortest cycles and minimum cuts in planar graphs. The algorithm improves the previously known fastest algorithm by Italiano et al. in STOC'11 by a factor of log n. This…

Data Structures and Algorithms · Computer Science 2016-08-14 Jakub Łącki , Piotr Sankowski

A simple-triangle graph is the intersection graph of triangles that are defined by a point on a horizontal line and an interval on another horizontal line. The time complexity of the recognition problem for simple-triangle graphs was a…

Discrete Mathematics · Computer Science 2018-09-20 Asahi Takaoka

Tutte proved that every 4-connected planar graph contains a Hamilton cycle, but there are 3-connected $n$-vertex planar graphs whose longest cycles have length $\Theta(n^{\log_32})$. On the other hand, Jackson and Wormald in 1992 proved…

Combinatorics · Mathematics 2020-03-24 Michael Wigal , Xingxing Yu

We revisit the algorithmic problem of finding a triangle in a graph: We give a randomized combinatorial algorithm for triangle detection in a given $n$-vertex graph with $m$ edges running in $O(n^{7/3})$ time, or alternatively in…

Data Structures and Algorithms · Computer Science 2024-03-08 Adrian Dumitrescu

Hakimi and Schmeichel determined a sharp lower bound for the number of cycles of length 4 in a maximal planar graph with $n$ vertices, $n\geq 5$. It has been shown that the bound is sharp for $n = 5,12$ and $n\geq 14$ vertices. However, the…

Combinatorics · Mathematics 2023-06-08 Ervin Győri , Addisu Paulos , Oscar Zamora

We present the first optimal algorithm for the classical problem of listing all the cycles in an undirected graph. We exploit their properties so that the total cost is the time taken to read the input graph plus the time to list the…

Data Structures and Algorithms · Computer Science 2012-07-06 Rui Ferreira , Roberto Grossi , Andrea Marino , Nadia Pisanti , Romeo Rizzi , Gustavo Sacomoto

(I) We revisit the algorithmic problem of finding all triangles in a graph $G=(V,E)$ with $n$ vertices and $m$ edges. According to a result of Chiba and Nishizeki (1985), this task can be achieved by a combinatorial algorithm running in…

Data Structures and Algorithms · Computer Science 2026-02-18 Ke Chen , Adrian Dumitrescu , Andrzej Lingas

In 2021, Gupta and Suzumura proposed a novel algorithm for enumerating all bounded-length simple cycles in directed graphs. In this work, we present concrete examples demonstrating that the proposed algorithm fails to enumerate certain…

Data Structures and Algorithms · Computer Science 2025-12-11 Frank Bauernöppel , Jörg-Rüdiger Sack

Let $G$ be a finite connected simple graph with $n$ vertices and $m$ edges. We show that, when $G$ is not bipartite, the number of $4$-cycles contained in $G$ is at most $\binom{m-n+1}{2}$. We further provide a short combinatorial proof of…

Combinatorics · Mathematics 2022-11-03 Takayuki Hibi , Aki Mori , Hidefumi Ohsugi

The problem of counting small subgraphs, and specifically cycles, in the streaming model received a lot of attention over the past few years. In this paper, we consider arbitrary order insertion-only streams, improving over the…

Data Structures and Algorithms · Computer Science 2020-07-28 Sofya Vorotnikova

A graph construction that produces a k-regular graph on n vertices for any choice of k >= 3 and n = m(k+1) for integer m >= 2 is described. The number of Hamiltonian cycles in such graphs can be explicitly determined as a function of n and…

Combinatorics · Mathematics 2016-08-03 Michael Haythorpe

We prove that any algorithm for detecting cycles in an $m \times n$ grid graph, where cells are colored and adjacency is defined by matching colors, must read all $mn$ cells in the worst case for all grids with $m \geq 2$ and $n \geq 2$.…

Data Structures and Algorithms · Computer Science 2026-04-28 Andrew Au

The quartet distance is a measure of similarity used to compare two unrooted phylogenetic trees on the same set of $n$ leaves, defined as the number of subsets of four leaves related by a different topology in both trees. After a series of…

Data Structures and Algorithms · Computer Science 2020-12-03 Bartłomiej Dudek , Paweł Gawrychowski

There is a sizable literature on investigating the minimum and maximum numbers of cycles in a class of graphs. However, the answer is known only for special classes. This paper presents a result on the smallest number of cycles in…

Discrete Mathematics · Computer Science 2016-03-08 Bader F. AlBdaiwi

Triangle-free graphs play a central role in graph theory, and triangle detection (or triangle finding) as well as triangle enumeration (triangle listing) play central roles in the field of graph algorithms. In distributed computing,…

Distributed, Parallel, and Cluster Computing · Computer Science 2021-10-05 Taisuke Izumi , François Le Gall

In this paper, we consider the problem of finding a cycle of length $2k$ (a $C_{2k}$) in an undirected graph $G$ with $n$ nodes and $m$ edges for constant $k\ge2$. A classic result by Bondy and Simonovits [J.Comb.Th.'74] implies that if $m…

Data Structures and Algorithms · Computer Science 2017-03-31 Søren Dahlgaard , Mathias Bæk Tejs Knudsen , Morten Stöckel

We develop a sparse graph regularity method that applies to graphs with few 4-cycles, including new counting and removal lemmas for 5-cycles in such graphs. Some applications include: * Every $n$-vertex graph with no 5-cycle can be made…

Combinatorics · Mathematics 2021-09-28 David Conlon , Jacob Fox , Benny Sudakov , Yufei Zhao

We study finding and listing $k$-cliques in a graph, for constant $k\geq 3$, a fundamental problem of both theoretical and practical importance. Our main contribution is a new output-sensitive algorithm for listing $k$-cliques in graphs,…

Data Structures and Algorithms · Computer Science 2024-03-25 Mina Dalirrooyfard , Surya Mathialagan , Virginia Vassilevska Williams , Yinzhan Xu

In a finite undirected simple graph, a {\it chordless cycle} is an induced subgraph which is a cycle. We propose two algorithms to enumerate all chordless cycles of such a graph. Compared to other similar algorithms, the proposed algorithms…

Data Structures and Algorithms · Computer Science 2014-12-01 Elisângela Silva Dias , Diane Castonguay , Humberto Longo , Walid Abdala Rfaei Jradi