Understand what binary trees are
Learn how binary trees are used in real-world applications
Understand how binary trees are represented in JavaScript
Binary Trees
Tree Nodes
Tree Traversal
Binary trees are like family trees, but each parent has only up to two children. This section will help you understand this fundamental data structure.
Like the branches of a tree dividing into smaller ones, binary trees are used in various domains, from databases to graphics. We'll explore some of these applications in this section.
Binary trees are abstract structures, but how do we represent them in JavaScript? This section will introduce you to the JavaScript objects we use to define binary trees.