Oznaczenia: w - wierzchołek r - rodzic I - lewy potomek p - prawy potomek
w |
r |
I |
P |
1 |
0 |
2 |
3 |
2 |
1 |
4 |
5 |
3 |
1 |
6 |
7 |
4 |
2 |
8 |
9 |
5 |
2 |
0 |
0 |
6 |
3 |
0 |
10 |
7 |
3 |
11 |
12 |
8 |
4 |
0 |
0 |
9 |
4 |
0 |
0 |
10 |
6 |
0 |
0 |
11 |
7 |
0 |
0 |
12 |
7 |
0 |
0 |