← Deutsche Bank questions

Count mismatches between two binary strings

Filed under Deutsche Bank

Given two binary strings s1 and s2 of equal length consisting solely of characters '0' and '1', calculate and return the total number of index positions where the characters differ (the Hamming…

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.