Red-Black Trees

Red%E2%80%93black tree

Red-black trees are a type of binary search tree that use an extra bit of information to ensure fast storage and retrieval of ordered information, with operations completing in O(log n) time. They also guarantee that the tree is always approximately balanced, and require only one bit of information per node.

1 courses cover this concept

CS 161 Design and Analysis of Algorithms

Stanford University

Winter 2023

This course provides an in-depth exploration of algorithm analysis and design. It covers various sorting, searching, and selection algorithms, data structures, and fundamental graph algorithms. It emphasizes the understanding of worst and average case analysis, recurrences, and asymptotics.

No concepts data

+ 30 more concepts