← 💻 Coding & Engineering CraftNEXT IN CODING & ENGINEERING CRAFTSorting Algorithms→
Core
Bit Manipulation
Bit manipulation uses AND, OR, XOR, and shifts to pack flags into integers, test and toggle individual bits, and lean on tricks like XOR-cancellation to find a unique element in O(1) space. Interviews test whether you reach for a bitmask when it delivers a real constant-factor or memory win and skip it when it just muddies the logic. The skill is knowing the handful of patterns that pay off, not memorizing clever one-liners.
a free account unlocks the core curriculum tier · no card
RELATED CONCEPTS
PRACTICE THIS IN REAL QUESTIONS
Coding & DSABit manipulation essentials: single number, counting bits, power of two.→Coding & DSAImplement k-means from scratch, including k-means++ initialization and a convergence check.→Coding & DSAImplement a numerically stable softmax and cross-entropy loss from scratch.→Coding & DSAImplement multi-head self-attention from scratch in NumPy, with a causal mask.→ML Infrastructure & GPUsExplain speculative decoding and the other main levers for cutting LLM generation latency.→Coding & DSAImplement beam search for a sequence model given a next-token log-probability function.→
COMPANIES THAT ASSUME THIS
