Tuesday 30-235 Week 19 MAY 8 Which of the following options is lare properties of Tree in Java h. A. Elements are inserted into a list in ordea of insertion B. Elemente care randomly inseated Elements are Sosted before inseating d, Duplicate elements cae removed before insertion .
option A
Aand C
A and D
C and D
Answers
Answer:
Ad hai is question ka answer
A and D.
Explanation:
Elements are inserted into a list in order of insertion.
Duplicate elements can be removed before insertion .
A Tree is a non-linear statistics shape wherein statistics gadgets are prepared in phrases of hierarchical relationships.
Java affords in-constructed classes, TreeSet and TreeMap, in Java Collection Framework that cater to the desires of the programmer to explain statistics factors withinside the aforesaid form.
Binary Search Tree is a tree that permits speedy search, insert, delete on taken care of statistics.
Heap is a tree statistics shape that is applied to the use of arrays and used to put in force precedence queues.
B-Tree and B+ Tree : They are used to put in force indexing in databases. Syntax Tree: Used in Compilers.