SE250:lab-7:asin185
Lab 7
In this lab we are to experiment on trees, adding elements and looking at the left and right children. It was quite a fun lab as we pretty much had to just play around with trees.Then see the different outputs and layouts that can be made with trees.
Task 1
2 3 4 (*) 5 6 7
Task 2
a b c d (*) e f g
Task 3
a b c d (*) e f g
Task 4
rl a (*) b c d e f g root a b (*) c d e f g
rl a b (*) c d e f g
parent a b c (*) d e f g
rr a b c (*) d e f g
rl a b c (*) d e f g
Task 5
a b c d e f g (*)