Function that prlet minimum number of swap operations required
function MinimumSwapOperations ( s ) { let zero_exist = false ; let multiple_of_2 = false ; let sum = 0 ; let index_of_zero = 0 ; let more_zero = false ; for ( let i = 0 ; i < s . length ; i ++ ) { let val = s [ i ] - ' ' ;