Question d’entretien chez Google

Recursion and some bit logic problem