Courses / Data Structures and Algorithms
18. Binary Trees
Understanding binary trees and their properties.
1 min read Chapter 18 of 23
Python
Binary Trees
A binary tree is a data structure where each node has at most two children.
"I need a way to organize data that allows for efficient searching and sorting."
A binary tree is a hierarchical structure where each node contains a value and links to up to two child nodes, known as the left and right children.
"I need a way to organize data that allows for efficient searching and sorting."
A binary tree is a hierarchical structure where each node contains a value and links to up to two child nodes, known as the left and right children.