
4K followers • DS & AI
Apr 23, 2024 • 53m • 183 views
A binary tree is a hierarchal data structure in which each node has at most two children. The child nodes are called the left child and the right child. To start with, let’s describe the linked list representation of a binary tree in which each node has three fields: Pointer to store the address of the left child Data element Pointer to store the address of the right child