Hexaware
Company
Programming
Functions
Which of the following in the data structure in which insertion can place from any direction but deletion can only takes place from opposite direction:
A)Stack B)Array C)Queue D)Tree
Read Solution (Total 3)
-
- tree
because it is a non linear data structure - 4 years agoHelpfull: Yes(2) No(2)
- D) Tree
tree data structure is only data structure where insertion can happen both the direction but deletion can only be take plce from the opposite. Suppose we insert node on top it becomes new root node and if want to delete we delete the leaf node only. - 4 years agoHelpfull: Yes(1) No(0)
- D) Tree
Because in tree there will be direction in any format. - 4 years agoHelpfull: Yes(0) No(1)
Hexaware Other Question