m_f@midwest.socialM to Fun Loops ▶️@midwest.socialEnglish · 2 months ago[R] Stupidest ways people have solved coding interviewsloops.videoexternal-linkmessage-square36fedilinkarrow-up182arrow-down15
arrow-up177arrow-down1external-link[R] Stupidest ways people have solved coding interviewsloops.videom_f@midwest.socialM to Fun Loops ▶️@midwest.socialEnglish · 2 months agomessage-square36fedilink
minus-squareUID_Zero@infosec.publinkfedilinkEnglisharrow-up3·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.