Page 1 of 1

Is the space consumed by the linear search(recursive) and linear search(iterative) same?

Posted: Wed Jul 13, 2022 6:15 pm
by answerhappygod
a) No, recursive algorithm consumes more space
b) No, recursive algorithm consumes less space
c) Yes
d) Nothing can be said