Azienda coinvolta
Write a method to return the nth entry in the Fibonacci sequence.
Anonimo
int fib(int n) { if(n <= 0) { return 0; } if(n == 1) { return 1; } return fib(n - 1) + fib(n - 2) }
Non lasciarti sfuggire opportunità e informazioni privilegiate seguendo le aziende dove vorresti lavorare.
Ricevi suggerimenti e aggiornamenti personalizzati avviando le tue ricerche.