Is the space consumed by the linear search(recursive) and linear search(iterative) the same?
A. No, recursive algorithm consumes more space
B. No, recursive algorithm consumes less space
C. Yes
D. Nothing can be said
Answer:A
Is the space consumed by the linear search(recursive) and linear search(iterative) the same?
A. No, recursive algorithm consumes more space B. No, recursive algorithm consumes less space C. Yes D. Nothing can be said