Computer Science, asked by Vansh5896, 11 months ago

Briefly explain time complexity and space complexity of an algorithm.

Answers

Answered by Anonymous
0

Explanation:

Time complexity of an algorithm quantifies the amount of time taken by an algorithm to run as a function of the length of the input. Similarly, Space complexity of an algorithm quantifies the amount of space or memory taken by an algorithm to run as a function of the length of the input.

Thanks!!

Similar questions