Binary Trees

  • Root Node - The top node of a tree.
  • Left branch- The nodes branching to the left of the tree and less than the value of the root node or the parent node.
  • Right branch- The nodes branching to the right of the tree and greater than the value of the root node or the parent node.
  • Child node- a node directly connected to another node when moving away from the root.
  • Parent node- a node that has a child or multiple child node.
  • Siblings- a group of child node with the same parent node.
  • Leaf node- a node with no child node.
  • Edge- The connection between a node and another.

Real Life Application of Binary Trees

Binary Trees Requirements

  • A binary tree have each node at most of 2 children.
  • Root node Usually have 2 nodes.
  • Binary search trees are sorted in particular way.

--

--

--

Just coding

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Secure Docker Containers Require Secure Applications

11 Recursion Function Examples for Practice (Easiest 😎 to Hardest🤯)

Next Steps After Graduating From A Cybersecurity Boot Camp

How to create large spherical hexagonal grids in Unity

Step By Step Tutorial in Learning Flutter: Lesson 11— Adding Image (Grass Pokemon)

I’ve Accomplished in Two Years what Some Students Have in Two Months

PyQt5: GUi design

002: Let’s get the ball rolling

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Madiwa Simon

Madiwa Simon

Just coding

More from Medium

Embedded Systems Project 5: Output Display

Endangered Animal Project — Part 3

Using Object repository in UIPath projects

Conun Development Status Monthly Report :2022.02.21