Loading practice questions
Is there any difference in the speed of execution between linear serach(recursive) vs linear search(lterative)?
Correct Answer: C — Linear search(Iterative) is faster
Explanation:
The Iterative algorithm is faster than the latter as recursive algorithm has overheads like calling function and registering stacks repeatedly.