answersLogoWhite

0

Adjacency matric is static implementation of Grah.It consist of M*M order matrix.

the return type pf matrix is boolewn.If there is an edge b\w two vertices then we place 1 in the matrix i,j index.If there is no edge b\w two vertices then we place 0 in the matrix i,j index.

thanks

User Avatar

Wiki User

9y ago

Still curious? Ask our experts.

Chat with our AI personalities

SteveSteve
Knowledge is a journey, you know? We'll get there.
Chat with Steve
TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
RafaRafa
There's no fun in playing it safe. Why not try something a little unhinged?
Chat with Rafa

Add your answer:

Earn +20 pts
Q: What is Adjacency Matrix?
Write your answer...
Submit
Still have questions?
magnify glass
imp