Function for finding the minimum number changes required in given String
function minimumOperations ( S , m ) { let V = 100 ; let adj = [ ] ; for ( let i = 0 ; i < V ; i ++ ) { adj . push ( [ ] ) ; } let total = 0 , N = S . length ; for ( let i = 0 ; i < adj . length ; i ++ ) adj [ i ] = [ ] ;