1.

A linear list of elements in which deletion can be done from one end (front) and insertion can take place only at the other end (rear) is known as _____________(a) Queue(b) Stack(c) Tree(d) Linked listThe question is from Queue Operations topic in section Abstract Data Types of Data Structures & Algorithms IThis question was posed to me at a job interview.

Answer»

The correct option is (a) Queue

For explanation: Linear LIST of ELEMENTS in which deletion is done at front SIDE and INSERTION at rear side is called Queue. In stack we will delete the LAST entered element first.



Discussion

No Comment Found

Related InterviewSolutions