Question d’entretien chez Meta

Divided without divide

Réponses aux questions d'entretien

Utilisateur anonyme

5 sept. 2012

You mean as in bit shifting?

Utilisateur anonyme

5 sept. 2012

Bit shifting would be the highly optimized approach, or simply iterating in a loop subtracting the denominator from the numerator while the result > denominator.