Recursion Flashcards

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

1/8

flashcard set

Earn XP

Description and Tags

Flashcards about Recursion in Java

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

9 Terms

1
New cards

Recursion

A fundamental programming technique where a function calls itself to solve smaller instances of the same problem.

2
New cards

Recursive Definition

Solving a problem by reducing it to smaller versions of itself.

3
New cards

Base Case

The non-recursive part of a recursive definition, which provides a direct solution and stops the recursion.

4
New cards

Infinite Recursion

A situation where a recursive definition does not have a base case, leading to endless self-invocation.

5
New cards

Recursive Method

A method that calls itself.

6
New cards

Recursive Algorithm

An algorithm that solves a problem by reducing it to smaller instances of itself, implemented using recursive methods.

7
New cards

General Solution

Breaks a problem into smaller versions of itself.

8
New cards

General Case

A case in a recursive definition where a smaller version of itself is called, which must eventually be reduced to a base case.

9
New cards

Indirect Recursion

A method invoking another method, which invokes another, etc., until eventually the original method is invoked again.