you give integer array num integer k nums comprise 0s 1s in choose adjacent index swap valuesreturn minimum number move require num k consecutive 1s Example 1input num 100101 k 2output 1explanation in 1 num 100011 2 consecutive 1sexample 2input num 10000011 k 3output 5explanation in 5 move leftmost 1 shift right num 00000111example 3input num 1101 k 2output 0explanation num 2 consecutive 1s Constraints1 numslength 105numsi 0 11 k sumnum