Python Data Structures:  Trees Preview

Python Data Structures: Trees

With Ryan Mitchell Liked by 535 users
Duration: 1h 16m Skill level: Intermediate Released: 2/25/2021

Start my 1-month free trial

Course details

What are trees, in Python, and how do they fit in with other data structures such as linked lists and graphs? In this course, instructor Ryan Mitchell discusses binary search trees (BSTs) and what you can do with them in a real-world context. Ryan shows you how to build a basic tree with just a few lines of Python. She steps through how to search and traverse a tree, as well as how to print a tree to a terminal. Ryan explains how to add nodes to your tree, delete them, and detect unbalanced trees. When you find an unbalanced tree, it’s important to rebalance it. Ryan walks you through rebalancing four types of unbalanced trees. She concludes with a challenge that features smarter automated rebalancing.

Skills you’ll gain

Meet the instructor

Learner reviews

4.7 out of 5

173 ratings
  • 5 star
    Current value: 134 77%
  • 4 star
    Current value: 33 19%
  • 3 star
    Current value: 3 1%
  • 2 star
    Current value: 2 1%
  • 1 star
    Current value: 1 <1%

Contents

What’s included

  • Test your knowledge 4 quizzes
  • Learn on the go Access on tablet and phone

Similar courses

Download courses

Use your iOS or Android LinkedIn Learning app, and watch courses on your mobile device without an internet connection.