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 operation of a queue?
a) insertAtBack and removeFromBack.
b) insertAtBack and removeFromFront.
c) insertAtFront and removeFromFront.
d) insertAtFront and removeFromBack.
b) insertAtBack and removeFromFront.
Computer Science & Information Technology
You might also like to view...
In a query, a calculated field begins with a descriptive label that ends with a(n) ________
A) colon B) asterisk C) question mark D) period
Computer Science & Information Technology
Microsoft Publisher used to be known as Lync
Indicate whether the statement is true or false
Computer Science & Information Technology