Skip to content · ⁨Lompat ke konten⁩
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.
Bahasa Indonesia

Fungsi yang memanggil dirinya sendiri

  • Resursivitas adalah ketika sebuah fungsi memanggil dirinya sendiri.
  • Setiap pemanggilan harus bekerja pada versi masalah yang lebih kecil.
  • Dilakukan dengan benar, masalah mengecil hingga mudah diselesaikan.

Handout · ⁨Lembar Kerja⁩

Log in or create account · ⁨Masuk atau buat akun⁩

IGCSE, A-Level & AP