When we insert data into an empty queue, the queue's front pointer is set to point to the new node, and the rear pointer is set to point to _____.

A. the new node
B. null
C. the queue head
D. the front pointer

Answer: A

Computer Science & Information Technology

You might also like to view...

Filenames in FAT16 are limited to ________ characters

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Answer, and explain: For large lists, which of the following is true of inserting a new item into a linked list compared to insertion in an array? What of small lists?

a. more efficient. b. less efficient. c. about the same. d. depends on the size of the two lists.

Computer Science & Information Technology