Data Structures Question:

Download Job Interview Questions and Answers PDF

What is a queue in data structure?

Data Structures Interview Question
Data Structures Interview Question

Answer:

A Queue is a sequential organization of data in data structure. A queue is a first in first out type of data structure. An element is inserted at the last position and an element is always taken out from the first position.

Download Data Structures Interview Questions And Answers PDF

Previous QuestionNext Question
What does isEmpty() member method determines?What is the relationship between a queue and its underlying array?