English

Define the following term with respect to the binary tree: Empty or Null tree - Computer Science 1

Advertisements
Advertisements

Question

Define the following term with respect to the binary tree:

Empty or Null tree

Definition
Advertisements

Solution

An empty (or null) tree is a binary tree in which no nodes exist. It has no root node, hence there are no left or right subtrees. An empty tree indicates the lack of data and is frequently used as a basis case in tree operations including insertion, deletion, and traversal.

shaalaa.com
  Is there an error in this question or solution?

APPEARS IN

2021-2022 (March) Set 1 (with solutions)
Q 3. (A) (a) (iii) | 1 mark
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×