What is space complexity of the program ?

Answer : C. Amount of memory required by the program to run

What is space complexity of the program ?

A. Amount of hard disk space required to store the program

B. Amount of hard disk space required to compile the program

C. Amount of memory required by the program to run

D. Amount of memory required by the program to compile

Answer : C. Amount of memory required by the program to run

Explanation :

  • Space complexity is a measure of how efficient your code is in terms of memory used.
Leave a Reply

Your email address will not be published.