Under what circumstances could the head and tail references for the linked implementation or the front and rear references of the array implementation be equal?

What will be an ideal response?

With a linked implementation, head and tail are equal when the queue is empty and they are both null. They are also equal when there is only one element in the queue.
With a circular array implementation, front and rear are equal when the array is empty or the array is full.

Computer Science & Information Technology

You might also like to view...

A ________ is a program that spreads by tricking users into granting permission to install it by pretending to be something else

A) keylogger B) Trojan C) rootkit D) DoS

Computer Science & Information Technology

A connection between two tables in an OpenOffice Base database is called a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology