All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Base case, recursive case?

Also known as: base case · recursive case

Definition 22.2 High School Computer Science · Chapter 22 — Recursion

The base case of a recursive function is an input for which it answers without calling itself. The recursive case is the part of the body that calls the function on smaller inputs and builds the answer from theirs.

Read in context →