Implement Enqueue and Dequeue using a singly linked list in O(1) time.

Implement Enqueue and Dequeue using a singly linked list in O(1) time.

From the BUET MSC (ICT) May 2019 – Written exam, question 5 of 20.

More from this paper