“There are only 10 types of people in the world: those who understand binary and those who don’t.”
https://www.exploringbinary.com/there-are-10-types-of-people/
“There are only 10 types of people in the world: those who understand binary and those who don’t.”
https://www.exploringbinary.com/there-are-10-types-of-people/
Better/fastest approch would be to check the last bit of the int and return the result. Second use modulo.
This? Dev should burn in hell. Who created this?