Question: Question 23 Hide sidebars Not yet answered If two algorithms are written to solve a problem, the first one used iterative-based repetition and the second

Question 23 Hide sidebars Not yet answered If two algorithms are written to solve a problem, the first one used iterative-based repetition and the second one used recursive-based repetition, and both algorithms have the same big Oh O(n), which one you choose to program and why? Marked out of 100 p Flag question Select one: O a. recursive algorithm because it is more space efficient than iterative one O b. recursive algorithm because it is more time efficient than iterative one O c. iterative algorithm because it is more space efficient than recursive one O d. iterative algorithm because it is more time efficient than recursive one
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
