Question: 14 wered 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

14 wered 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? of 100 etion Select one: O a. iterative algorithm because it is more space efficient than recursive one O b. recursive algorithm because it is more time efficient than iterative one O c. iterative algorithm because it is more time efficient than recursive one O d. recursive algorithm because it is more space efficient than iterative one PAGE NEYT DAT
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
