SE250:lab-7:kkan048

From Marks Wiki
Jump to navigation Jump to search

I insert 7 elements [4,3,5,2,6,1,7] and i insert 3 as a first element.

     1
   2
 3
4 (*)
 5
   6
     7

i used "right" command

     1
   2
 3
4
 5 (*)
   6
     7

it point to the right element of the current node.

command "left"

     1
   2
 3
4
 5
   6
     7

Since there is no left element of the current node [5].pointer (*) is missing.