[prev] 20 [next]

Exercise 3: Tree Rotations

Incorporate rotateL() and rotateR() into TreeLab
  • add functions into Tree ADT
  • add  R  command to main loop
  • add  L  command to main loop