Given a matrix x, return one with each diagonal element replaced by its absolute value and the largest element in absolute value of the off-diagonal elements in its row...
The title and description of this problem could use some tweaking in my opinion. For instance, it should say the largest element in absolute value *of the off-diagonal elements* in its row.
Done. Thanks Matt!
116 Solvers
Return the first and last character of a string
1647 Solvers
176 Solvers
166 Solvers
Sum the numbers on the main diagonal
375 Solvers