ankitschopra Profile Answers by ankitschopra Nov 3rd, 2013 In Queue Insertion can only take place in the end. Since we have pointer to front and rear, We only require one step to insert at the rear.
Consider a linked list implemented of a queue with two pointers: front and rear. What is the time needed to insert an element if the queue is of length n?
Questions by nehaj1993
Related Answered Questions
Related Open Questions