Consider a graph G(V, E) where V represents vertex and E represents edge of a graph. If topological sorting is implemented on a graph G, time complexity of the above is ______.

1
O(V)
2
O(E)
3
O(V + E)
4
O(1)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation