An undirected graph with n vertices and e edges are represented by adjacency matrix. The time required to determine the degree of any vertex is

1
O(e)
2
O(n)
3
O(n2)
4
O(e+n)

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation