Q8. When A Linked List Is Used For Queue Implementation, Which of The Following Structures
Q8. When A Linked List Is Used For Queue Implementation, Which of The Following Structures
When a linked list is used for queue implementation, which of the following structures provides the most efficient and effective way to perform both insert and delete operations? Here, the number of queue elements is variable, and the arrows shown in the figures represent link pointers.
a)
Head pointer
b)
Head pointer
c)
Head pointer Tail pointer
d)
Head pointer Tail pointer