Single Choice Easy

QHow is the time complexity of the Fibonacci sequence generation using recursion characterized?

ID: #21501 Time Complexity 95 views
Question Info
#21501Q ID
EasyDifficulty
Time ComplexityTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A O(N)
  • B O(log N)
  • C O(2^N)
  • D O(N^2)
Correct Answer

Explanation

The recursive generation of the Fibonacci sequence has an exponential time complexity of O(2^N).

Share This Question

Challenge a friend or share with your study group.