You are on page 1of 1

Cs502 assignment 3 solution 2021

Student id: bc190404529

Requirement 1:
Adjacency List:
1 2 3 4 5

1 0 1 0 0 1
2 0 0 1 1 0
3 0 0 0 0 0
4 0 0 1 0 0
5 0 0 0 1 0

Adjacency Graph:
1

2 2 5

3
Requirement 2: 3 4

5 3

You might also like