wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

A directed graph with an vertices and e edges are represented by adjancy matrix. What is the time required to determine the in-degree of a vertex?

A
0 (e)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
0 (n)
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
C
0(n2)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
0 (e + n)
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is D 0 (n)

A directed graph with an vertices and e edges are represented by adjacency matrix. 0(n) is the time required to determine the in-degree of a vertex.

A directed graph is a set of vertices and a collection of directed edges that each connects an ordered pair of vertices. We say that a directed edge points from the first vertex in the pair and points to the second vertex in the pair.



915101_917189_ans_4acfbdafc8cf4addace926d1cc975c3f.PNG

flag
Suggest Corrections
thumbs-up
0
similar_icon
Similar questions
View More
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Faces, Edges and Vertices
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon