Practical Slip 12 - 2019 Pattern

 Data Structure:

A) Write a C program that accepts the graph as an adjacency matrix and checks if the graph is undirected. The matrix for an undirected graph is symmetric. Also calculate in degree of all vertices

- Read a graph as adjacency Matrix

- Check the matrix is symmetric or not

- Calculate indegree of all vertices            [20 M]

PHP:





Post a Comment

0 Comments