m_f@midwest.socialM to Fun Loops ▶️@midwest.socialEnglish · 2 months ago[R] Stupidest ways people have solved coding interviewsloops.videoexternal-linkmessage-square34fedilinkarrow-up124arrow-down11
arrow-up123arrow-down1external-link[R] Stupidest ways people have solved coding interviewsloops.videom_f@midwest.socialM to Fun Loops ▶️@midwest.socialEnglish · 2 months agomessage-square34fedilink
minus-squareUID_Zero@infosec.publinkfedilinkEnglisharrow-up2·2 months agoBitwise and with 0x1. If result is 0, it’s even. Least significant bit is always 1 for odd numbers.
Bitwise and with 0x1. If result is 0, it’s even. Least significant bit is always 1 for odd numbers.