employer cover photo
employer logo
employer logo

Command Alkon

Acquired by Thoma Bravo

Is this your company?

Command Alkon interview question

How would you determine if a number is even or odd programmatically?

Interview Answer

Anonymous

1 Apr 2016

I used bitwise operations to check if the least significant bit was set to one. Another solution could be to use modulo operators.