2 aspects of algorithmic performance:
Time
• Instructions take time.
• How fast does the algorithm perform?
• What affects its runtime?
Space
• Data structures take space
• What kind of data structures can be used?
• How does choice of data structure affect the runtime?
We will focus on time:
How to estimate the time required for an algorithm
How to reduce the time required