Data Structures Trees Question:
Download Job Interview Questions and Answers PDF
Explain binary tree? Explain its uses?
Answer:
A binary tree is a tree structure, in which each node has only two child nodes. The first node is known as root node. The parent has two nodes namely left child and right child.
Uses of binary tree:
- To create sorting routine.
- Persisting data items for the purpose of fast lookup later.
- For inserting a new item faster
Uses of binary tree:
- To create sorting routine.
- Persisting data items for the purpose of fast lookup later.
- For inserting a new item faster
Download Data Structures Trees Interview Questions And Answers
PDF
Previous Question | Next Question |
Explain ree database. Explain its common uses? | How to find the depth of a binary tree? |