Recursion Flashcards

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/6

flashcard set

Earn XP

Description and Tags

Flashcards covering key vocabulary from the Recursion lecture.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

7 Terms

1
New cards

Recursion

The definition of an operation in terms of itself; a method that calls itself.

2
New cards

Recursive Programming

Writing methods that call themselves to solve problems recursively; an equally powerful substitute for iteration (loops).

3
New cards

Base Case

The condition to stop the recursive calls; when met, the function stops calling itself and starts returning values.

4
New cards

Recursive Case

Smaller occurrences of the same problem; the method calls itself with modified arguments to make progress towards the base case.

5
New cards

Merge Sort

Repeatedly divides the data in half, sorts each half, and combines the sorted halves into a sorted whole; an example of a divide and conquer algorithm, often implemented recursively.

6
New cards
7
New cards

Binary Search

A search algorithm that repeatedly divides a sorted list in half to find a target value