Learning to Bit Twiddle and Optimize

ENTER STUDENT: You're in 15-213 [1] (or learning that material online). It's time for the bit twiddling lab. Here's the thing about that lab: It can be fairly straightforward or quite difficult depending on your background in things like competitive math and competitive programming. At CMU, the distribution of people's backgrounds on these topics is wide. And if you haven't had an intro to it you…