Algorithm over a p-regular bipartite graph

63 Views Asked by At

I'm stuck with this exercise:

Let G = (V, E) be a p-regular bipartite graph Prove that a cycle can be found in O(|C|) time complexity using a dfs traversal;

Thanks in advance!.