© Armstrong Subero 2020
A. SuberoCodeless Data Structures and Algorithms https://doi.org/10.1007/978-1-4842-5725-8_3

3. Tree Data Structures

Armstrong Subero1 
Basse Terre, Moruga, Trinidad and Tobago

In this chapter, we will look at a powerful data structure, the tree. The tree is arguably one of the most utilized complex data structure types. Once you understand trees, you will be able to grasp other data structures and algorithms that will be presented throughout the book. In this chapter, we will explore the basics of trees and look at some of the more common tree data structures.


We will begin our discussion of tree-based data structures by understanding what trees are. Think about a tree. When we think about a tree, we think about ...

Get Codeless Data Structures and Algorithms : Learn DSA Without Writing a Single Line of Code now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.