The K Weakest Rows in a Matrix
Try to solve The K Weakest Rows in a Matrix problem.
We'll cover the following...
Statement
You are given an
A row
The number of soldiers in row
is less than the number of soldiers in row . Both rows have the same number of soldiers and
.
You have to return the indexes of the
Constraints:
matrix.length
matrix[i].length
matrix[i][j]
is eitheror .
Examples
Access this course and 1400+ top-rated courses and projects.