Bit Manipulation
Working directly on a number's binary representation with AND/OR/XOR/shifts: for O(1) tricks and memory-efficient state.
Overview
The Bit Manipulation guide: how it works, the trade-offs interviewers ask about, and the mistakes to avoid.
4 min read
Bit Manipulation Interview Q&A
Interview questions to answer out loud first, then compare with a model answer.
25 Q&A
Bit Manipulation MCQs
Multiple-choice checks with five options and an explanation for every answer.
25 MCQs