Skip to content · ⁨본문 바로가기⁩
English

A function that calls itself

  • Recursion is when a function calls itself.
  • Each call should work on a smaller version of the problem.
  • Done right, the problem shrinks until it is trivial to solve.
한국어

자신을 호출하는 함수

  • **재귀(recursion)**란 함수가 자신을 호출하는 것입니다.
  • 각 호출은 문제의 더 작은 버전에서 작동해야 합니다.
  • 올바르게 구현되면 문제가 작아져서 해결하기 쉬워집니다.

Handout · ⁨교재 자료⁩

Log in or create account · ⁨로그인 또는 계정 만들기⁩

IGCSE, A-Level & AP