Data Structures Question:

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

Tweet Share WhatsApp

Answer:

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

Read All 48 Data Structures Questions
Previous QuestionNext Question
Why is the isEmpty() member method called?What does each entry in the Link List called?