Chapter 10 — Recursively Recurse with Recursion

0.0(0)
Studied by 0 people
call kaiCall Kai
Locked
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/12

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 3:05 PM on 8/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai
Chat

No analytics yet

Send a link to your students to track their progress

13 Terms

1
New cards
Recursion
When a function calls itself
2
New cards
Recursive function
A function that solves a problem by calling itself on a smaller version
3
New cards
Base case
The condition that stops recursion
4
New cards
Recursive case
The part where the function calls itself again
5
New cards
Progress toward base case
Each call must move closer to stopping
6
New cards
Infinite recursion
Recursive calls continue forever because no base case is reached
7
New cards
Call stack
Tracks unfinished function calls
8
New cards
Working back up
After the base case returns, paused calls resolve in reverse order
9
New cards
Stack overflow
Too many recursive calls fill the call stack
10
New cards
Factorial recursive case
number * factorial(number - 1)
11
New cards
Factorial base case
factorial(1) returns 1
12
New cards
Recursive filesystem search
Useful because folder depth may be unknown
13
New cards
Nested array recursion
If element is an array, recurse; otherwise process the valu