Q.

Recursion is a method in which the solution of a problem depends on

A. larger instances of different problems
B. larger instances of the same problem
C. smaller instances of the same problem
D. smaller instances of different problems
Answer» C. smaller instances of the same problem
Explanation: in recursion, the solution of a problem depends on the solution of smaller instances of the same problem.

Discussion

No comments yet