Function to return the minimum number of characters of the given binary string to be replaced to make the string alternating
int minReplacement ( string s , int len ) { int ans = 0 ; for ( int i = 0 ; i < len ; i ++ ) {