give integer array num 0s end maintain relative order nonzero elementsnote inplace make copy array example 1input num 010312output 131200example 2input num 0output 0 Constraints1 numslength 104231 numsi 231 1 Follow could minimize total number operation