Close
Register
Close Window

Data Structures and Algorithms

Chapter 7 Search Trees

Show Source |    | About   «  6.3. Sequential Tree Representations (optional)   ::   Contents   ::   7.2. Binary Search Trees  »

7.1. Chapter Introduction: Binary Search Trees

This chapter covers balanced binary search trees (BSTs), a data structure that uses a binary tree to implement a set or a map. Balanced BSTs are the first data structure we see that implements the set and map operations efficiently. In a balanced BST, insertion, deletion and lookup all take \(O(\log n)\) time.

   «  6.3. Sequential Tree Representations (optional)   ::   Contents   ::   7.2. Binary Search Trees  »

nsf
Close Window