FreedomPay Interview Question

Write a method to determine if an integer argument is odd.

Interview Answer

Anonymous

Feb 14, 2021

As any developer knows, there is more than one way to do this. If you do not read their minds and submit the solution they prefer, you will be subjected to humiliating comments and eyerolls. Beware: Do not use the mod operator...despite being a perfectly legitimate answer. Use a bit mask.