Which of the following explains different types of efficiency?(1 point)

Responses

Code complexity refers to the number of characters in the code. Code length refers to the effort needed to understand the code.
Code complexity refers to the number of characters in the code. Code length refers to the effort needed to understand the code.

Code length refers to the number of characters in the code. Code complexity refers to the effort needed to understand the code.
Code length refers to the number of characters in the code. Code complexity refers to the effort needed to understand the code.

Time complexity refers to the amount of memory used. Space complexity refers to the amount of time needed.
Time complexity refers to the amount of memory used. Space complexity refers to the amount of time needed.

Space complexity refers to the amount of memory used. Time complexity refers to the amount of time needed.

1 answer

The correct response explaining different types of efficiency is:

Space complexity refers to the amount of memory used. Time complexity refers to the amount of time needed.

This statement accurately defines the concepts of time complexity (how the execution time of an algorithm increases with the size of the input) and space complexity (how the memory requirement of an algorithm changes with the size of the input).