public static int getAllHammingDisntances(List<String> binarys){
        int size = binarys.size();
        if(size == 0) return 0;
        int len = binarys.get(0).length();

        int[] bitVector = new int[len];
        for(String binary : binarys){
            for(int i = 0; i < binary.length(); i++){
                if(binary.charAt(i) == '1')
                    bitVector[i] += 1;
            }
        }

        int total = 0;
        for(int i = 0; i < bitVector.length; i++){
            total += bitVector[i] * (size - bitVector[i]);
        }
        return total;
    }