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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What needs to be done to compare two algorithms?

A

-The same hardware and software environments must be used

How well did you know this?
1
Not at all
2
3
4
5
Perfectly