Where does this Gray codeword sit?
The 8-bit reflected binary Gray code lists all 256 words so that consecutive words differ in exactly one bit; index maps to the word k ^ (k >> 1). At which index (in decimal) does the word 10110110 appear?
Show hints (2)+
- Write and solve for starting at the top bit.
- Each bit of is the XOR of all Gray bits at or above it.
Answer
Reveal answer →Final answer
219
Create a free account to see the full worked solution and track your progress.
Interview format: Prop Trading