logo

Crowdly

Browser

Add to Chrome

Considérant la fonction suivante : Fonction Fibonacci(n: entier): entier Début  ...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

Considérant la fonction suivante :

Fonction Fibonacci(n: entier): entier

Début

    Si (n == 0 ou n == 1) alors

        Retourner 1

    Sinon

        Retourner Fibonacci(n-2) + Fibonacci(n-1)

    FinSi

Fin Fonction

-------------------------------------------------------------

Combien d’appels récursifs seront effectués pour calculer Fibonacci(3) ?

0%
0%
0%
0%
0%
0%
More questions like this

Want instant access to all verified answers on moodle.e-polytechnique.ma?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome