Introduction to Tree

Get yourself introduced to trees and their basic terminologies in this lesson.

What is a tree?

A tree is a non-linear data structure used to represent the hierarchical relationship between a parent node and a child node. Each node in the tree is connected to another node by directed edges.

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