Given an infinite stream of bits (most significant bit arriving first), maintain the running remainder modulo 3 using a constant 2-bit state buffer and output whether the current number is a multiple…
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.