I'm trying to understand recursion in a Scheme, and it's hard for me to try it, for example, the simple Fibonacci problem.
Can someone break the steps in which the additions take place for me?
(define (fib n) (if (<= n 2) 1 (+ (fib (- n 1)) (fib (- n 2)))))
recursion scheme racket fibonacci
Pradit
source share