Beginner Data Structures & Algorithms
Q35 / 100

What does a stack overflow error indicate in recursive algorithms?

Correct! Well done.

Incorrect.

The correct answer is B) The recursion depth exceeded the call stack limit

B

Correct Answer

The recursion depth exceeded the call stack limit

Explanation

Every function call pushes a frame onto the call stack. Infinite or excessively deep recursion exhausts the fixed-size stack, causing a stack overflow.

Progress
35/100