public static void main(String args[]){
        String input[] = {"10011","00011","11101","01010"};
        HammingDistanceBetweenPair hdb = new HammingDistanceBetweenPair();
        System.out.println(hdb.hammingDistance(input));
    }
http://www.glassdoor.com/Interview/-a-first-write-a-function-to-calculate-the-hamming-distance-between-two-binary-numbers-b-write-a-function-that-takes-QTN_450885.htm
Test cases
Not equal length strings
String containing anything other than 0 and 1
src/com/interview/misc/HammingDistanceBetweenPair.java