Multiple Choice
Which of the following algorithms would be efficiently executed on an ArrayList?
A) remove first n / 2 elements from a list of n elements
B) add 1 element to the middle of a list with n elements
C) add n / 2 elements to a list with n / 2 elements
D) read n / 2 elements in random order from a list of n elements
Correct Answer:

Verified
Correct Answer:
Verified
Q42: Assume you have created a linked list
Q43: Select an appropriate declaration to complete the
Q44: A collection that remembers the order of
Q45: Which of the following statements about a
Q46: Suppose we create a deque (double-ended queue)
Q48: What type of access does a LinkedList
Q49: The term _ is used in computer
Q50: Which data structure would best be used
Q51: Assume that you have declared a stack
Q52: What operation is least efficient in a