John Mavrick's Garden

Search IconIcon to open search

Last updated April 10, 2022

Status: Tags: #cards/cmpt225/dataStructures/trees Links: Binary Search Trees


Self-balancing/AVL BST

Principles

?

AVL tree ?

AVL tree rotation steps ?

Rotations

Single/Outside Rotations

Double/Internal Rotation

How to self-balance ?

Time Efficiency

insert, remove, retrieve ;; O(logn) successor ;; O(logn) min/max ;; O(logn)


References:

Created:: 2022-02-28 16:11


Interactive Graph