94.5k views
3 votes
The general case in a recursive function is the case for which the solution is obtained directly.

True

False

1 Answer

6 votes

Answer: False.

Step-by-step explanation:

The general case of recursive function is when the solution is obtained recursively by simplification at each step.

However, it is the base case in a recursive function when the solution is obtained directly.

The general case must be reducible to base to arrive at a solution else the recursion would be a infinite recursion.

User Levara
by
5.9k points