MeetCode - Programming Platform | MeetCode - Programming Solutions Platform

Bitwise AND of two numbers

Get Detail

Check odd using bit operator

Get Detail

Swap using XOR

Get Detail

Set k-th bit

Get Detail

Clear k-th bit

Get Detail

Toggle k-th bit

Get Detail

Extract lowest set bit

Get Detail

Count bits using Kernighan

Get Detail

Check if kth bit is set

Get Detail

Build mask between l..r

Get Detail

Reverse bits in 32-bit int

Get Detail

Find single number (others twice)

Get Detail

Find two single numbers

Get Detail

Subset check using bitmask

Get Detail

Compute parity bit

Get Detail