Lecturer
An algorithm is the step by step clear instructions to solve a given problem.
Complexity of an Algorithm
1.Space Complexity of a program is the amount of memory it needs to run to completion.
2. Time complexity of a program is the amount of computer time it needs to run to completion. The time complexity is of two types such as:
a) Compilation time
b) Runtime
Material File