Finding and counting given length cycles
Arboricity and subgraph listing algorithms