i need to know the optimum algorithim for finding cycles in a forest that may contain disjoint graphs. I start off with a pointer to an array of nodes in the forest and the count of nodes.
what is the big O and little O and theta of this algorithm?
Thanks,
Ameesh
what is the big O and little O and theta of this algorithm?
Thanks,
Ameesh
