previous | start | next

Rotations in Pictures

Single rotation: rotateLeft(p) (changes 2 links)

Double rotation: rotateRight(p.right), then rotateLeft(p) (changes 4 total links)



previous | start | next