Question: 22. In a linked-based implementation of the ADT list with only a head reference, what is the performance of adding an entry at the end

22. In a linked-based implementation of the ADT list with only a head reference, what is the performance of adding an entry at the end of the list? a. O(n) b. O(n) C. O(log n) d. 0(1) 23. In a linked-based implementation of the ADT list with a tail reference, what is the performance of adding an entry at the end of the list? a. 0(1) b. O(log n) C. O(n) d. O(n) 24. In a linked-based implementation of the ADT list with a tail reference, what is the performance of adding an entry that is not at the beginning of the list? a. O(n) b. O(n) C. O(log n) d. 0(1) 25. In a linked-based implementation of the ADT list with only a head reference, what is the performance of removing an entry at the beginning of the list? a. 0(1) b. O(log n) C. O(n) d. O(n)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
