1.

In linked list implementation of a queue, where does a new element be inserted?(a) At the head of link list(b) At the centre position in the link list(c) At the tail of the link list(d) At any position in the linked listI want to ask this question from Queue using Linked List topic in portion Abstract Data Types of Data Structures & Algorithms IThis question was posed to me in homework.

Answer»

Right option is (C) At the tail of the LINK list

The explanation is: SINCE QUEUE FOLLOWS FIFO so new element inserted at last.



Discussion

No Comment Found

Related InterviewSolutions