Computer Science, asked by sammy6463, 10 months ago

Space complexity refers to

Answers

Answered by TopperPranshu
0

Answer:

this is your answer....

Explanation:

The space complexity of an algorithm or a computer program is the amount of memory space required to solve an instance of the computational problem as a function of characteristics of the input. It is the memory required by an algorithm to execute a program and produce output.

please mark as the brainliest...

Answered by sourasghotekar123
0

Answer:

Space complexity refers to:

The total amount of memory space used by an algorithm.

Explanation:

  • What is space complexity? space complexity refers to the total amount of memory space which is used by an algorithm/ program, it includes the space of input values for execution.
  • The amount of memory space required to solve an instance of the computational problem as a function of characteristic of the input.
  • Space complexity is equal to the sum of auxiliary space and space which is used for input values.
  • So the total space complexity is4\times4+4= 20 bytes.
  • In real world space complexity becomes very important because we never want to run the function or process which increase the amount of space.

Hence, Space complexity refers to: The total amount of memory space used by an algorithm.

#SPJ6

https://brainly.in/question/18725506

Similar questions