Frage im Vorstellungsgespräch bei Meta

Divided without divide

Antworten zu Vorstellungsgespräch

Anonym

5. Sept. 2012

You mean as in bit shifting?

Anonym

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.