12. Week 11: Binary Search TreesΒΆ
- 12.1. Representing Sets via Binary Search Trees
- 12.1.1. A Data Structure for Binary-Search Trees
- 12.1.2. Inserting an element into a BST
- 12.1.3. Binary-Search-Tree Invariant
- 12.1.4. Testing Tree Operations
- 12.1.5. Printing a Tree
- 12.1.6. Searching Elements
- 12.1.7. Tree Traversals
- 12.1.8. Testing Element Retrieval and Tree Traversals
- 12.1.9. More BST operations
- 12.1.10. Deleting a node from BST
- 12.1.11. BST Rotations