InterviewSolution
| 1. |
How can we compare between two algorithms written for the same problem? |
|
Answer» The complexity of an algorithm is a technique that is used to categorise how efficient it is in comparison to other algorithms. It focuses on how the size of the data set to be processed affects execution time. In computing, the algorithm's computational complexity is CRITICAL. It is a good idea to categorise algorithms according to how much time or space they take up and to DESCRIBE how much time or space they take up as a function of input size.
|
|