Which of the stack operations must be supported in a linked list implementation?

a) push and pop
b) push and peek
c) pop and peek
d) push, pop, and isEmpty
e) all of them


c) pop and peek

Computer Science & Information Technology

You might also like to view...

Which of the following pairs of data items could be stored in a map?

a) a student’s name and the student’s student ID number b) a student’s name and the student’s grade point average (GPA) c) a student’s name and the student’s year in school d) a student’s name and the name of the dormitory in which the student lives e) None of these pairs are appropriate for storage in a map.

Computer Science & Information Technology

What four kinds of information is the analyst seeking through prototyping?

What will be an ideal response?

Computer Science & Information Technology

In the Insert For Each In Array Loop dialog box, we can specify the ____ of values we have in our array, (2) specify a(n) ____ for one of the items in the array, and (3) specify the ____ through which we want to iterate.

A. array; generic variable name; type B. list; index; generic array name C. type; generic variable name; array D. index; generic array name; list

Computer Science & Information Technology

Documentation that describes the steps to perform a task or a checklist of steps is ____.

A. a troubleshooting guide B. procedural documentation C. a webpage D. an email message

Computer Science & Information Technology