I think the "divide by 2 without divide function" was meant to test whether the person knows about bit shifts. Bit shifting and bit masks are often overlooked and often very useful. And I am not speaking about microoptimizations by replacing division operators by bit shifts.
Jenda
Enoch was right!
Enjoy the last years of Rome.
In reply to Re^4: Stop with the interview questions already
by Jenda
in thread Stop with the interview questions already
by ssandv
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |