SE250:lab-7:shua066

From Marks Wiki
Revision as of 05:20, 3 November 2008 by Mark (Sọ̀rọ̀ | contribs) (5 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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