Examlex

Solved

A Linked List Has the Functions InsertAtFront, RemoveFromFront, InsertAtBack and RemoveFromBack

question 13

Multiple Choice

A linked list has the functions insertAtFront, removeFromFront, insertAtBack and removeFromBack, which perform operations on nodes exactly as their names describe. Which two functions would most naturally model the enqueue and dequeue operations, respectively, of a queue?


Definitions:

Related Questions