 
Summary: Testing TriangleFreeness in General Graphs
Noga Alon
Tali Kaufman
Michael Krivelevich
Dana Ron§
Abstract
In this paper we consider the problem of testing whether
a graph is trianglefree, and more generally, whether it is
Hfree, for a fixed subgraph H. The algorithm should
accept graphs that are trianglefree and reject graphs
that are far from being trianglefree in the sense that
a constant fraction of the edges should be removed in
order to obtain a trianglefree graph. The algorithm is
allowed a small probability of error.
This problem has been studied quite extensively in
the past, but the focus was on dense graphs, that is,
when d = (n), where d is the average degree in the
graph and n is the number of vertices. Here we study
the complexity of the problem in general graphs, that
is, for varying d.
