← Adobe questions

Check whether a binary string is divisible by 3

Filed under Adobe

Given a binary string, decide whether the number it represents is divisible by 3. Your first solution may convert to a decimal number; then modify it so it works for strings up to 10^9 characters…

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.