✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Consider the following code:
public void printList(ArrayList<String> list) {
for(int i = 0; i < list.size(); i++)
System.out.println(list.get(i));
}
What is the time complexity?