Year: 2025
Type: article
Abstract: We revisit the algorithmic problem of finding a triangle in a graph (Triangle Detection), and examine its relation to other problems such as 3Sum, Independent Set, and Graph Coloring. We obtain several new algorithms: (I) A simple randomized algorithm for finding a triangle in a graph. As an application, we study a question of PΛatraΕcu (2010) regarding the triangle detection problem. (II) An algorithm which given a graph πΊ = (π , πΈ) performs one of the following tasks in π(π + π) (i.e., linear) time: (i) compute a Ξ©(1/βπ)-approximation of a maximum independent set in πΊ or (ii) find a triangle in πΊ. The run-time is faster than that for any previous method for each of these tasks. (III) An algorithm which given a graph πΊ = (π , πΈ) performs one of the following tasks in π(π+π 3/2 ) time: (i) compute βπ-approximation for Graph Coloring of πΊ or (ii) find a triangle in πΊ. The run-time is faster than that for any previous method for each of these tasks on dense graphs, with π = (π 9/8 ). (IV) Results (II) and (III) above suggest the following broader research direction: if it is difficult to find (A) or (B) separately, can one find one of the two efficiently? This motivates the dual pair concept we introduce. We provide several instances of dual-pair approximation, relating Longest Path, (1,2)-TSP, and other NP-hard problems.
Author: Adrian Dumitrescu
Language: English
Subfield: Computational Theory and Mathematics
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W4408890387
