Solved

When Testing the Insert Method of a Linked List (One

Question 57

Multiple Choice

When testing the insert method of a linked list (one that inserts at the beginning of the list) , what scenarios do we want to test?


A) Insert in an empty list (only) .
B) Insert in an empty list and a nonempty list.
C) Insert in a nonempty list (only) .
D) There is no need to test if we think the method is properly coded.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions