Python Data Structures: Trees
Offered By: LinkedIn Learning
Course Description
Overview
Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Learn about binary search trees in Python and how to create, navigate, modify, and use them in a real-world context.
Syllabus
Introduction
- Getting started with trees
- What you should know
- BSTs and other trees
- Building a basic tree
- Searching a tree
- Traversing a tree
- Getting the maximum height of a tree
- Getting all nodes at a particular depth
- Challenge: Printing a tree
- Solution: Printing a tree
- Adding nodes
- Deleting nodes: Theory
- Deleting nodes: Code
- Detecting unbalanced trees
- Challenge: Adding a balance indicator to the printed tree
- Solution: Adding a balance indicator to the printed tree
- Introduction to rotations
- Rotating trees in Python
- Fixing a tree with multiple points of imbalance
- Challenge: Smarter automated rebalancing
- Solution: Smarter automated rebalancing
- Next steps with data structures
Taught by
Ryan Mitchell
Related Courses
4ever-clojureIndependent Algorithms for DNA Sequencing
Johns Hopkins University via Coursera Advanced Data Structures, RSA and Quantum Algorithms
University of Colorado Boulder via Coursera Conception et mise en œuvre d'algorithmes.
École Polytechnique via Coursera مربع الأدوات الخوارزمية
University of California, San Diego via Coursera