Computer Science · Efficiency of Algorithms
CrossoverAlgorithm P takes 10 steps on a list of 10 items and 100 steps on a list of 100 items. Algorithm Q takes 100 steps on a list of 10 items and 10,000 steps on a list of 100 items. Which is more time-efficient as the list grows?
Choose an answer — or press 1234