✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
A web application retrieves product data from a database and then sorts the results before displaying them. Currently, the database returns all 50,000 products (no index, full table scan), and the application sorts them using a method where doubling the input quadruples the work. Two changes are proposed:
Which change addresses the larger source of wasted energy?