Chapter 11 — Learning to Write in Recursive

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
Recursive mindset
Solve the current layer and trust recursion to solve the smaller problem
2
New cards
Repeatedly execute pattern
Do one action, then call the function with updated input
3
New cards
Extra parameter
Tracks progress through recursive calls
4
New cards
Index parameter
Tracks the current position in an array or string
5
New cards
Calculation recursion
Return current value combined with recursive result
6
New cards
Array sum recursion
First value plus sum of rest
7
New cards
Find x recursion
Check current index, otherwise recurse with index + 1
8
New cards
Top-down recursive thinking
Assume recursive call solves the smaller problem
9
New cards
Triangular number
N plus triangular_number(N - 1)
10
New cards
Unique paths base case
If rows == 1 or columns == 1, return 1
11
New cards
Unique paths recursive case
unique_paths(rows - 1, columns) + unique_paths(rows, columns - 1)
12
New cards
Anagram base case
One-character string returns itself
13
New cards
Anagram time
O(N!), because all arrangements are generate