Binary Search Tree (BST) Rotations

Introduction

BST rotations are operations that help maintain the balance of a tree in self-balancing BSTs like AVL and Red-Black trees.

Types of Rotations

Visual Representation

Diagram of BST Rotations

Learn More

For more details, visit this Wikipedia page.