Home »
MCQs »
Scala MCQs
Which of these can be solved using recursion?
73. Which of these can be solved using recursion?
- Factorial
- Fibonacci
- Both A and B
- None of these
Answer: C) Both A and B
Explanation:
The both Factorial and Fibonacci series can be extracted using the recursion.