Question:
A basic overview of algorithm analysis
An Algorithm is a set of steps that defines how a task must perform to produce expected results. An algorithm can be represented in many ways. A computer program is a formal representation of an algorithm. There are many ways of programming a single problem. Thus, many different algorithms can be developed to solve the same problem. However, all algorithms are not equal. A non-technical friend has asked whether some algorithms are better than others. Discuss what makes one algorithm better than another.