SE250:lab-7:shua066
Lab 7
task 1
seven distinct elements
1 (*) 2 3 4 5 6 7
type right
1 2 (*) 3 4 5 6 7
the star move to right,type left
1 2 3 4 5 6 7
the star disappear , because the node 2 dont have left node start from "3 2 4 5 6 7 8" type left the star from 2 to 3
wherever the star is ,when type root or parent,it move back to root