← Deutsche Bank questions

Bulls and cows 4-digit code guessing algorithm

Filed under Deutsche Bank

Design an interactive solver algorithm to guess a hidden 4-digit secret number with unique digits in the range 0-9. After each 4-digit guess, an oracle responds with (bulls, cows), where bulls are…

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 Deutsche Bank questions

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