September 2017
Intermediate to advanced
800 pages
23h 19m
English
In This Chapter
• How Do Binary Search Trees Work?
• Finding Maximum and Minimum Values
• The Efficiency of Binary Trees
In this chapter we switch from algorithms, the focus of Chapter 7, “Advanced Sorting,” to data structures. Binary trees are one of the fundamental data storage structures used in programming. They provide advantages that the data structures we’ve seen so far cannot. In this chapter we’ll learn why you would want to use trees, how they work, and how to go about creating them.
Read now
Unlock full access