The Cost of Recursion
Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.
The problem
- medium
- Pro
Explain how to work out the time complexity of a recursive function, using naive Fibonacci, binary search and merge sort as your examples.
Talk this problem through with an AI coach
This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.