Help needed in a question!

Правка en1, от siddhi, 2019-07-29 16:11:52

You are given a graph with some of its edges are directed and some are un-directed. You have to return true/false depending upon if you can convert all the undirected edges in directed ones such that there is no cycle in graph return true else return false..

Can some please some help on how to approach this problem?

Thanks in advance :)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский siddhi 2019-07-29 16:11:52 372 Initial revision (published)