title: How to find all forward and cross edges in a graph
body: <p>I know what is forward and cross edge. But I am finding difficulty in implementing them in program to find all the forward and cross edges in a given graph.</p>
  
  <p>Any help in this regard would be appreciated.</p>