Chapter 2 : Recursion

studied byStudied by 11 people
0.0(0)
learn
LearnA personalized and smart learning plan
exam
Practice TestTake a test on your terms and definitions
spaced repetition
Spaced RepetitionScientifically backed study method
heart puzzle
Matching GameHow quick can you match all your cards?
flashcards
FlashcardsStudy terms and definitions
Get a hint
Hint

Factorials

Get a hint
Hint

________ are often used in mathematics and computer science.

Get a hint
Hint

Recursion

Get a hint
Hint

________ is a method of problem- solving where you solve smaller instances of the problem until you arrive at a solution.

1 / 3

Anonymous user
Anonymous user
flashcard set

Earn XP

Description and Tags

4 Terms

1

Factorials

________ are often used in mathematics and computer science.

New cards
2

Recursion

________ is a method of problem- solving where you solve smaller instances of the problem until you arrive at a solution.

New cards
3

base case

The ________ is usually a simple, easily solvable case that serves as the starting point for the recursive algorithm.

New cards
4

Because of this, the function must have a base case

a condition that ends a recursive algorithm to stop it from continuing forever

New cards
robot