KinquireStart free

recursion

Say it: rih-KUR-shun /rɪˈkəːʃ(ə)n/ · noun

What “recursion” means

Solving something using a smaller version of the same problem.

More precisely: Defining or solving something in terms of a smaller version of itself.

Example: “Russian dolls are recursion you can hold: each one contains a smaller version of itself.”

When to use it

In computing or maths, when a method repeats itself on smaller problems until it reaches a simple stopping point.

Memory trick

Picture opening a box, finding a smaller box, and repeating until the last box.

Similar words

self-reference, nesting, repetition

Where it comes from

From Latin recurrere, 'to run back'.

Quick check

A program counts files by entering each folder and using the same counting method on folders inside. What technique is this?

recursion or repetition?

Show the answer

recursion

Learn 5 new words a day in Kinquire. Each with a picture, how to say it, an example and a quick check, then spaced review so you actually keep them. Free to start.

Learn “recursion”

More science & tech