Why the answer is true

in one of the lectures prateek sir said that space complexity is the maximum auxiliary space required excluding the input space

hello @we_kaash
. . . .

yeah its correct, we exclude input memory in space complexity analysis.
the context of question is bit unclear.
the statement given is question can be true as well, becuase when the size of input will increase then memory usage will also increase (assuming they are not talking about space complexity analysis).

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.