MaxEdges solution codechef

MaxEdges solution codechef – Tracy gives Charlie a Directed Acyclic Graph with NN vertices. Among these NN vertices, KK vertices are sources, and LL vertices are sinks. MaxEdges solution codechef Find out the maximum number of edges this graph can have. Note: A source is a vertex with no incoming edge. A sink is a vertex with no outgoing edge. A vertex…