data structures - Stack, Queue, Tree? -


13,5,2,9,8 , 1 inserted data structure in order. item deleted using basic data structure operation. if deleted item 1, data structure cannot ?
a. priority queue b. stack c. queue d. search tree

thanks in advance !

it cannot queue, because queue supports "popping" oldest item (fifo: first in first out), , 1 inserted last.


Comments

Popular posts from this blog

angularjs - ADAL JS Angular- WebAPI add a new role claim to the token -

php - CakePHP HttpSockets send array of paramms -

node.js - Using Node without global install -