Question: (JAVA) For an array-based list, which of the following statement best describes the asymptotic analysis according to the code given below on the method of
(JAVA) For an array-based list, which of the following statement best describes the asymptotic analysis according to the code given below on the method of clear()
a.
Both the size of the original list and computing environment affect the time at run, so it is non-deterministic.
b.
The time may varies from each time the program runs, depending on the computing environment, but relevant to the size of the original size of the list
c.
The size of the original list determines the run time taken on the method clear().
33 > 21 3 7** Array-based list implementation */9 4 public class AList
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
