Files
grokking-algorithms/chapter_03
onyx-and-iris 4cd7bb7d18 reorganise directories
upd chapter_01/binary.py
2025-03-26 01:27:35 +00:00
..
2025-03-26 01:27:35 +00:00
2025-03-26 01:27:35 +00:00

Recursion

Recursive functions must have both:

  • one or more base cases
  • a recursive case

The base cases are required to ensure the recursion stops when meeting a condition

The recursive case adds functions onto the call stack and completes each one top down.