Data Structures Question:
Download Questions PDF

How is the front of the queue calculated in data structure?

Answer:

The front of the queue is calculated by front = (front+1) % size.

Download Data Structures Interview Questions And Answers PDF

Previous QuestionNext Question
Why is the isEmpty() member method called?What does each entry in the Link List called?