Binary Trees — A Complete Guide

Binary Tree representation with keywords

Applications Of Binary Tree

Types Of Binary Trees

  1. Full Binary Tree
  2. Complete Binary Tree
  3. Extended Binary Tree
  4. Threaded Binary Tree

For the traversal in a tree, we have three Types Of Traversal techniques and they are:-

  1. Pre-Order Traversal (Parent Node, Left Child, Right Child)
  2. Inorder Traversal (Left Child, Parent Node, Right Child)
  3. Post-Order Traversal (Left Child, Right Child, Parent Node)
  1. Finding the maximum node.
  2. Finding the minimum node.
  3. Finding the height of a tree.
  4. Finding the size of a tree.
  5. Finding the mirror tree.
  6. Finding the Pre-order, Post-Order and In-order of a tree.

Code Snippet To Find The Maximum Node:-

Code Snippet To Find The Height Of A Tree:-

--

--

--

Software Developer ,currently pursuing B.Tech in Information Technology. Electronic Dance Music is love.Also like all phone related technologies

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

Recommended from Medium

Rebalance and partition assignment strategies in Kafka

Why carry Python environments with your OS? An alternative way.

Installing FreeBSD on Raspberry Pi using Linux

My Understanding of WPaxos

Why you should upgrade your cloud game!

Cloud Technology Skills

Typical Productivity Tools aren’t Fixing the Problem of Productivity, so We are Fixing it

Keycloak and Spring Boot Security

Adaptive User Interfaces with UIStackView and UICollectionView

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
Anubhav Mishra

Anubhav Mishra

Software Developer ,currently pursuing B.Tech in Information Technology. Electronic Dance Music is love.Also like all phone related technologies

More from Medium

Linked Lists — a Beginner’s Guide

Java 學習記錄126 — SQL Injection Attacks and Prepared Statements

3 Essentials for long-running batch jobs

ARRAYS AND STRINGS DATA STRUCTURES.