Question d’entretien chez Google

Explain "recursion" to a 7-year-old.

Réponses aux questions d'entretien

Utilisateur anonyme

23 avr. 2015

Imagine you are in a movie theater and you want to know the number of rows of seats. Every person can ask the person in front of them how many seats there are in the theater. If the number is not zero, they can ask the person in front again. Once the question reaches the first row, they answers come back one row at a time.

16

Utilisateur anonyme

13 nov. 2014

I can't. I don't have a computer science background.

3

Utilisateur anonyme

20 mars 2015

I'd write on a piece of paper, "Walk ten steps, and then turn right. Then do what's on this piece of paper two more times." I'd hand the paper to the kid.

1