Unit 3-Part 2 Flashcards
(2 cards)
1
Q
How do we measure the efficiency of an algorithm?
A
Measure its complexity:
-the time complexity
-the space complexity
2
Q
What needs to be done to compare two algorithms?
A
-The same hardware and software environments must be used