← Amazon questions

Divisibility by 3 in binary stream

Filed under Amazon

Given a stream of binary digits (0s and 1s) representing a binary number starting from the most significant bit, determine after receiving each bit whether the binary number formed so far is divisible…

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 Amazon questions

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