In example 2 there is no edge from A to D In out degree and indegree example, you made a mistake and told that Indegree is number of edges coming out of a vertex
@engineeringwing74696 ай бұрын
Indegree is total no.of incoming edges to a vertex and outdegree is total number of outgoing edges from a vertex..It is a mistake in speech..shall write this correction in the description box..