Skip to content

Bit Manipulation

  • Counting Bits

    Counting Bits — count 1-bits for all numbers 0..n

  • Reverse Bits

    Reverse Bits — reverse the bits of a 32-bit unsigned integer

  • Single Number

    Single Number — find the element appearing once (others twice)

Editor-first interview practice. Content is tracked in git, and every packet page links to its source.

built from bb84dc1