Mitchell, Ryan
Python Data Structures: Trees
LEO-SUED Medien

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.


Ausleihstatus des eMediums wird abgefragt...
Dieses Medium ist ein elektronisches Medium (eLearning). Sie können dieses Medium im eMedien-Portal Ihrer Bibliothek ansehen, entleihen oder vormerken.
Zum Download / Zur Anzeige

Weiterführende Informationen

Personen: Mitchell, Ryan

Mitchell, Ryan:
Python Data Structures: Trees : LinkedIn, 2021. - 01:16:39

Zugangsnummer: EM-1611196659
Signatur: eLearning - LEO-SUED Medien