Hi. I am trying to solve this problem.
For convenience, I have summarized the problem statement below (based on my understanding):
Given a directed graph with N vertices and E edges (with cycles and not necessarily connected), find the minimum number of edges