GIVE ME SOME IDEA TO SOLVE THIS GRAPH PROBLEM PLS

Revision en1, by HThinh, 2024-10-22 18:39:07

given a directed graph with n nodes and m edges. find all edges that are present in every cycle of the graph

constraints: n<=1000 m<=20000 TL: 0.9s

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English HThinh 2024-10-22 18:39:07 203 Initial revision (published)