Course “Python: Trees”

Course updated on April 29, 2025

Subscribe

Access this and all courses with a subscription

What's included

Theory: 8 lessons
Exercises: 0
Questions: 0
Self-study tasks
Extra materials
Extended materials for 8 lessons

Description

In this course, we will discuss how to work with tree-like data structures. You'll learn to represent recursive data in code and build abstractions using trees. You will also learn to use tree processing algorithms and traversal in depth. The knowledge from this course will help programmers organize work with any tree structure: a file system, DOM elements, or a product catalog. To make learning easier, it's worth repeating collections, functions, and declarative programming beforehand.

You will learn

  • Understand the principles of tree structure and construction
  • Represent in code and process data with a recursive nature
  • Build abstractions on top of tree-like data structures
  • Use a functional paradigm

Syllabus

1

Introduction

Getting to know the course and its objectives

2

Definitions

Understanding the terminology related to trees

3

Virtual file system

Introducing a library for creating files in memory

4

Manipulating the virtual file system

Learning to modify the file system in an immutable way

5

Traversal

Introducing the concept of tree traversal

6

Aggregation

Learning how to extract the necessary data from the tree

7

Aggregation 2

Discovering how to get a compound array by traversing trees

8

Accumulator

Learning to collect additional data while traversing the tree

Course Cover
  • Run code right in the browser
  • Lifetime access
  • Learn at your own pace
Subscribe

Access this and all courses with a subscription