Professional Documents
Culture Documents
The Tree Has 3levels
The Tree Has 3levels
VU Code bc210426177
Course cs607p Assignment no 1
Solution No 1
Path of tree
The BFs traversal path with a height of 4 will be 1->2->7->8-
>3->9->6->4->12->15->10->11 (Targeted node)
7
2
8 3
6 9
12 4 5 10
11
Solution NO 2
Undirect structure
5
1
3
7