English
Related papers

Related papers: Listing 4-Cycles

200 papers

Listing copies of small subgraphs (such as triangles, $4$-cycles, small cliques) in the input graph is an important and well-studied problem in algorithmic graph theory. In this paper, we give a simple algorithm that lists $t$ (non-induced)…

Data Structures and Algorithms · Computer Science 2023-10-24 Ce Jin , Virginia Vassilevska Williams , Renfei Zhou

In a seminal work, Chiba and Nishizeki [SIAM J. Comput. `85] developed subgraph listing algorithms for triangles, 4-cycle and $k$-cliques, where $k \geq 3.$ The runtimes of their algorithms are parameterized by the number of edges $m$ and…

Data Structures and Algorithms · Computer Science 2024-07-12 Yael Kirkpatrick , Surya Mathialagan

The "short cycle removal" technique was recently introduced by Abboud, Bringmann, Khoury and Zamir (STOC '22) to prove fine-grained hardness of approximation. Its main technical result is that listing all triangles in an $n^{1/2}$-regular…

Data Structures and Algorithms · Computer Science 2023-10-24 Amir Abboud , Karl Bringmann , Nick Fischer

We study subgraph counting over fully dynamic graphs, which undergo edge insertions and deletions. Counting subgraphs is a fundamental problem in graph theory with numerous applications across various fields, including database theory,…

Data Structures and Algorithms · Computer Science 2025-04-16 Sepehr Assadi , Vihan Shah

This work considers the problem of output-sensitive listing of occurrences of $2k$-cycles for fixed constant $k\geq 2$ in an undirected host graph with $m$ edges and $t$ $2k$-cycles. Recent work of Jin and Xu (and independently Abboud,…

Data Structures and Algorithms · Computer Science 2024-12-16 Virginia Vassilevska Williams , Alek Westover

We present the first truly subcubic, combinatorial algorithm for detecting an induced $4$-cycle in a graph. The running time is $O(n^{2.84})$ on $n$-node graphs, thus separating the task of detecting induced $4$-cycles from detecting…

Data Structures and Algorithms · Computer Science 2026-01-12 Amir Abboud , Shyan Akmal , Nick Fischer

We study four-cycle counting in arbitrary order graph streams. We present a 3-pass algorithm for $(1+\varepsilon)$-approximating the number of four-cycles using $\widetilde{O}(m/\sqrt{T})$ space, where $m$ is the number of edges and $T$ the…

Data Structures and Algorithms · Computer Science 2026-04-02 Sebastian Lüderssen , Stefan Neumann , Pan Peng

In an $m$-edge host graph $G$, all triangles can be listed in time $O(m^{1.5})$ [Itai, Rodeh '78], and all $k$-cycles can be listed in time $O(m^{2-1/{\lceil k/2 \rceil}} + t)$ where $t$ is the output size [Alon, Yuster, Zwick '97]. These…

Data Structures and Algorithms · Computer Science 2024-04-09 Karl Bringmann , Egor Gorbachev

We present a new technique for efficiently removing almost all short cycles in a graph without unintentionally removing its triangles. Consequently, triangle finding problems do not become easy even in almost $k$-cycle free graphs, for any…

Data Structures and Algorithms · Computer Science 2022-10-18 Amir Abboud , Karl Bringmann , Seri Khoury , Or Zamir

We show how to find a Hamiltonian cycle in a graph of degree at most three with n vertices, in time O(2^{n/3}) ~= 1.260^n and linear space. Our algorithm can find the minimum weight Hamiltonian cycle (traveling salesman problem), in the…

Data Structures and Algorithms · Computer Science 2007-06-14 David Eppstein

We consider the problem of approximate counting of triangles and longer fixed length cycles in directed graphs. For triangles, T\v{e}tek [ICALP'22] gave an algorithm that returns a $(1 \pm \eps)$-approximation in…

Data Structures and Algorithms · Computer Science 2024-10-01 Keren Censor-Hillel , Tomer Even , Virginia Vassilevska Williams

This paper is about: (1) bounds on the number of cliques in a graph in a particular class, and (2) algorithms for listing all cliques in a graph. We present a simple algorithm that lists all cliques in an $n$-vertex graph in O(n) time per…

Combinatorics · Mathematics 2012-02-09 Ken-ichi Kawarabayashi , David R. Wood

We consider the problem of counting 4-cycles ($C_4$) in an undirected graph $G$ of $n$ vertices and $m$ edges (in bipartite graphs, 4-cycles are also often referred to as $\textit{butterflies}$). Most recently, Wang et al. (2019, 2022)…

Data Structures and Algorithms · Computer Science 2024-10-01 Paul Burkhardt , David G. Harris

We consider the problem of detecting a cycle in a directed graph that grows by arc insertions, and the related problems of maintaining a topological order and the strong components of such a graph. For these problems, we give two…

Data Structures and Algorithms · Computer Science 2011-12-06 Michael A. Bender , Jeremy T. Fineman , Seth Gilbert , Robert E. Tarjan

We show that for each \ell\geq 4 every sufficiently large oriented graph G with \delta^+(G), \delta^-(G) \geq \lfloor |G|/3 \rfloor +1 contains an \ell-cycle. This is best possible for all those \ell\geq 4 which are not divisible by 3.…

Combinatorics · Mathematics 2009-08-13 Luke Kelly , Daniela Kühn , Deryk Osthus

Our work explores the hardness of $3$SUM instances without certain additive structures, and its applications. As our main technical result, we show that solving $3$SUM on a size-$n$ integer set that avoids solutions to $a+b=c+d$ for $\{a,…

Data Structures and Algorithms · Computer Science 2023-03-20 Ce Jin , Yinzhan Xu

We show that if one can solve 3SUM on a set of size n in time n^{1+\e} then one can list t triangles in a graph with m edges in time O(m^{1+\e}t^{1/3-\e/3}). This is a reversal of Patrascu's reduction from 3SUM to listing triangles (STOC…

Computational Complexity · Computer Science 2013-05-17 Zahra Jafargholi , Emanuele Viola

The edge list model is arguably the simplest input model for graphs, where the graph is specified by a list of its edges. In this model, we study the quantum query complexity of three variants of the triangle finding problem. The first asks…

Quantum Physics · Physics 2026-05-29 Amin Shiraz Gilani , Daochen Wang , Pei Wu , Xingyu Zhou

We study the problem of finding the cycle of minimum cost-to-time ratio in a directed graph with $ n $ nodes and $ m $ edges. This problem has a long history in combinatorial optimization and has recently seen interesting applications in…

Data Structures and Algorithms · Computer Science 2018-03-02 Karl Bringmann , Thomas Dueholm Hansen , Sebastian Krinninger

We consider problems related to finding short cycles, small cliques, small independent sets, and small subgraphs in geometric intersection graphs. We obtain a plethora of new results. For example: * For the intersection graph of $n$ line…

Computational Geometry · Computer Science 2022-11-11 Timothy M. Chan
‹ Prev 1 2 3 10 Next ›