Given an N array of strings of N length, return the minimum number of character changes required to create a chessboard pattern (a change means replacing characters).
for instances
["ab", "ba"] --> 0
["aba", "bac", "aba"] --> 1
i am really lost, any help appreciated