How is the front of the queue calculated ?
The front of the queue is calculated by front = (front+1) % size.
Explore posts in the same categories: Data Structure Interview Questions
The front of the queue is calculated by front = (front+1) % size.
You must be logged in to post a comment.