find_cycle
if ((cnt = find_cycle(n, n, 0, 0))) {
len = find_cycle(*np, to, longest_len, depth + 1);
static int find_cycle(NODE *, NODE *, int, int);