next up previous
Next: Up: Previous:

RB-Insert(T,x)

Case I: x's uncle is Red

   if parent(x) = left(parent(parent(x)))
   then uncle(x) = right(parent(parent(x)))
   else uncle(x) = left(parent(parent(x)))




next up previous
Next: Up: Previous: