yes in undirected its degree taken as 2.

in directed it contribute 1 to both indegree and out degree.

in directed it contribute 1 to both indegree and out degree.

0 votes

In an undirected graph a self loop counts to how many edges?

I read somewhere that in case of undirected graph we consider self loop to have 2 edges?

I read somewhere that in case of undirected graph we consider self loop to have 2 edges?