how i return column number when i have matrix 300 on 3 when the constrain is: idx(i) = number of the column with the min number in the row, example:
8 1 6 3 5 7 4 9 2idx(1) = 2idx(2) = 1idx(3) = 3
🙂
column returnmatrix
8 1 6 3 5 7 4 9 2idx(1) = 2idx(2) = 1idx(3) = 3
Best Answer