m_f@midwest.socialM to Fun Loops ▶️@midwest.socialEnglish · 1 year ago[R] Stupidest ways people have solved coding interviewsloops.videoexternal-linkmessage-square29linkfedilinkarrow-up178arrow-down15
arrow-up173arrow-down1external-link[R] Stupidest ways people have solved coding interviewsloops.videom_f@midwest.socialM to Fun Loops ▶️@midwest.socialEnglish · 1 year agomessage-square29linkfedilink
minus-squareUID_ZerolinkfedilinkEnglisharrow-up3·1 year agoBitwise and with 0x1. If result is 0, it’s even. Least significant bit is always 1 for odd numbers.
deleted by creator
Bitwise and with 0x1. If result is 0, it’s even. Least significant bit is always 1 for odd numbers.