Time and Space Complexity
A good algorithm is one that takes less time in execution and saves space during the process. For the same, we have time complexity and space complexity which represent the amount of time and memory used by the algorithm respectively.