Complete Binary Tree on 7 vertices
________1________
_____2___ ___3__
4 5 6 7
Adjacency List Representation:
Node# |
Connected With |
1 |
2,3 |
2 |
1,4,5 |
3 |
1,6,7 |
4 |
2 |
5 |
2 |
6 |
3 |
7 |
3 |
Corresponding adjacency matrix representation:
0 1 1 0 0 0 0
1 0 0 1 1 0 0
1 0 0 0 0 1 1
0 1 0 0 0 0 0
0 1 0 0 0 0 0
0 0 1 0 0 0 0
0 0 1 0 0 0 0