What is called in the video?
The video calls the time complexity "exponential complexity". This terminology is used to classify complexities that grow as a power of 2 with respect to the input size .
Conditions
- The complexity has the form or similar exponential growth.
- The context is the naming and classification of the derived time complexity.
Reasoning, step by step
- Derive the time complexity by counting the total number of nodes in the recursion tree.
- Name this specific result as "exponential complexity".
- Summarize the method of computing the time complexity of recursive algorithms using trees.
Example
Finally, the instructor names this result: belongs to 'exponential complexity'. He then summarizes the method of this segment in one sentence — it is a solution for representing or computing the time complexity of recursive algorithms using a tree.
Common misconceptions
- Confusing exponential complexity with polynomial complexity.
- Assuming that all recursive algorithms have exponential complexity, rather than just this specific naive Fibonacci example.
Watch the explanation
Explore next
Answers are generated from source material and independently checked. Consult the original video or creator if something is unclear.