recategorized by
820 views
2 votes
2 votes
Write $O(n)$ time algorithm to find any cycles in a graph. Print NONE otherwise
recategorized by

Please log in or register to answer this question.

Related questions

0 votes
0 votes
2 answers
2
radha gogia asked Aug 5, 2015
2,169 views
Does it tale constant time or the time taken proportional to search in the entire partition of elements to find whether the component lies in that same component or not ?...
0 votes
0 votes
0 answers
4
iarnav asked Apr 19, 2018
417 views
Some say answer is 2n and someplace else it's been told 2n-1-1. So, what's the corrent one?