# Common Neighbors

A vertex \$A\$ that is connected to vertices \$B\$ and \$C\$ is considered to be a "common neighbor" of \$B\$ and \$C\$.

The common neighbors algorithm counts the number of common neighbors between two vertices.

The common neighbors algorithm counts the number of common neighbors between two vertices.