What is a Binary Tree?

This lesson is an introduction to binary trees and different types of binary trees.

Introduction

A tree in which each node can have a maximum of two children is known as a binary tree. You can refer to these children as the “left” and the “right” child. The figure below shows what a binary tree looks like:

Level up your interview prep. Join Educative to access 80+ hands-on prep courses.