For the minimum difference , we can replace " + " in both the Strings with the same char
if ( a [ i ] != ' + ' && b [ i ] != ' + ' && a [ i ] != b [ i ] ) min ++ ; } Console . Write ( min + max + " STRNEWLINE " ) ; }