4clique
In graph theory, a 4-clique, also called a K4, is a complete subgraph on four vertices. This means the four vertices are pairwise adjacent, forming a subgraph with exactly six edges. A 4-clique is a specific instance of a clique; it denotes a four-vertex clique, though it may be contained within a larger clique such as a K5.
In a larger graph, a 4-clique consists of four vertices where every pair among them is connected
Detection and counting: A common approach to testing for a 4-clique is to examine each vertex v,
Complexity: For fixed k, the k-clique problem is solvable in polynomial time; naive enumeration for k =