A

Admin • 831.35K Points
Coach

Q. Which of the following problems can’t be solved using recursion?

  • (A) factorial of a number
  • (B) nth fibonacci number
  • (C) length of a string
  • (D) problems without base case

Explanation by: Admin
problems without base case leads to infinite recursion call. in general, we will assume a base case to avoid infinite recursion call. problems like finding factorial of a number, nth fibonacci number and

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.