← Adobe questions

Multiple of 3 from Infinite Boolean Stream

Filed under Adobe

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.

Related Adobe questions

Collected from public candidate posts and coding forums. Updated Nov 2026.