Despite how simple this may appear, it could get quite difficult to calculate if we had a much larger pool of contractors to choose from, or had many more repairs to consider.
The minimum row value represents the minimum price we will have to pay each contractor, and similarly, setting it to zero allows us to subtract it from the other values in the row.
Let’s take a look at how this method could be applied to our current problem: Here, we can see that each column has a zero.
However, only rows 1, 3 and 4 have zeros, and row 4 has 2 zeros.
Now, we will subtract the lowest value, which we’ve converted to zero, from the remaining column values.