Time Complexity

Frequently, the memory space required by an algorithm is a multiple of the size of input. State if the statement is True or False or Maybe.

TRUE

FALSE

May be

None of the Above

Why is the answer to this question is True?

hello @Sakshi2004

the space requirement increase with increasing the size of input so int this context answer is true.
but if we talk about space complexity analysis then in that we dont consider input array in our analysis so in that terms answer should be false.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.