Lecture 8 - Algorithm Analysis Flashcards
1
Q
What are 2 ways in which an algorithm can be analyzed?
A
- Time based analysis
2. Space based analysis
2
Q
What is time based analysis?
A
Analyzing the efficiency of an algorithm based on the time it takes to execute on the CPU (CPU TIME)
3
Q
What is space based analysis?
A
Analyzing the efficiency of an algorithm based on how much memory space it consumes.