you give m x n binary matrix mat 1s represent soldier 0s represent civilian the soldier position civilian that 1s appear leave 0s rowa row weak row j follow truethe number soldier row number soldier row jBoth row number soldier jReturn indice k weak row matrix order weakest strong Example 1input mat 11000 11110 10000 11000 11111 k 3output 203explanation the number soldier row row 0 2 row 1 4 row 2 1 row 3 2 row 4 5 the row order weakest strong 20314example 2input mat 1000 1111 1000 1000 k 2output 02explanation the number soldier row row 0 1 row 1 4 row 2 1 row 3 1 the row order weakest strong 0231 Constraintsm matlengthn matilength2 n m 1001 k mmatrixij 0 1