Let G be a weighted directed graph containing cycles. I'm looking for an algorithm to find and remove those cycles by removing the least-weight edge of a cycle.
I think potentially I could do several DFS, but was wondering if there are more well-developed solutions out there.
Thanks for the help :)