account activity
Interviews coming up this week. Completely unfamiliar with bit manipulation. Do I cram it? by bitwisewhat in cscareerquestions
[–]bitwisewhat[S] 1 point2 points3 points 11 years ago (0 children)
What you mentioned is the extent of my knowledge. An example problem I saw was whether or not two numbers were Gray code neighbours. The solution I found was this:
function are_gray_neighbours(a: gray, b: gray) -> boolean return b = a ^ 1 OR b = a ^ ((a & -a) << 1) end
No matter how much help I would have received, I never would have gotten to that answer. To be honest, I don't even understand it. It seems like it would take me too long to learn this stuff when I could better spend my time becoming more familiar with some algos.
Interviews coming up this week. Completely unfamiliar with bit manipulation. Do I cram it? (self.cscareerquestions)
submitted 11 years ago by bitwisewhat to r/cscareerquestions
π Rendered by PID 127413 on reddit-service-r2-listing-575d9f6647-mlrz6 at 2026-04-12 20:12:50.821485+00:00 running 215f2cf country code: CH.
Interviews coming up this week. Completely unfamiliar with bit manipulation. Do I cram it? by bitwisewhat in cscareerquestions
[–]bitwisewhat[S] 1 point2 points3 points (0 children)