What are 2 ways in which an algorithm can be analyzed?
2. Space based analysis
What is time based analysis?
Analyzing the efficiency of an algorithm based on the time it takes to execute on the CPU (CPU TIME)
What is space based analysis?
Analyzing the efficiency of an algorithm based on how much memory space it consumes.