Close
Register
Close Window

CSC 201 Data Structures

Chapter 6 Binary Trees

Show Source |    | About   «  15. Binary Search Trees   ::   Contents   ::   16. Balanced Trees  »

15. Binary Search Trees

15.1. Binary Search Trees

15.1.1. Binary Search Trees

15.1.2. BST as a Dictionary (1)

15.1.3. BST as a Dictionary (2)

15.1.4. BST findhelp

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

15.1.5. BST inserthelp

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

15.1.6. BST deletemax

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

15.1.7. BST removehelp

Settings

Proficient Saving... Error Saving
Server Error
Resubmit

15.1.8. .

.

15.1.9. BST Analysis

Find: \(O(d)\)

Insert: \(O(d)\)

Delete: \(O(d)\)

\(d =\) depth of the tree

\(d\) is \(O(\log n)\) if the tree is balanced.

What is the worst case cost? When?

   «  15. Binary Search Trees   ::   Contents   ::   16. Balanced Trees  »

nsf
Close Window