employer cover photo
employer logo
employer logo

Amazon Lab126

Part of Amazon

Is this your company?

Amazon Lab126 Interview Question

OOD: Design tables in restaurant. Division without division operator.

Interview Answer

Anonymous

Mar 5, 2020

For division w/o a division operator, just look at what the compiler does... it breaks down the shifts plus an add/sub as needed. Related: Given the larger number of gates currently supplied to floating point operations, using floats (even when not needed) can improve performance. No, it's not the answer to this question, but having the details may help when demonstrating technical acumen.