What is tree in computer science?
Answer / Ankit Malik
In computer science, a tree is an abstract data type or data structure that models hierarchical tree structures. It consists of nodes where each node has a parent (except for the root), zero or more children, and zero or more siblings. Trees can be used to represent various kinds of hierarchical relationships.
| Is This Answer Correct ? | 0 Yes | 0 No |
What is difference between while and do while?
Why do we need algorithm?
How many types of arrays are there?
What is the difference between set and unordered_set?
What is mean by sorting?
Is linkedlist thread safe?
Differentiate between list and map.
How would you reverse characters of an array without using indexing in the array.
Tell me why can't constant values be used to define an array's initial size
How do you sort a map by key?
Define binary tree insertion.
What is bubble sort technique?