✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
n items are added to an empty list. Loop L uses a.insert(0, x) each time; loop R uses a.append(x) each time. Which loop is quadratic?