Solution: The K Weakest Rows in a Matrix
Let’s solve the The K Weakest Rows in a Matrix problem using the Modified Binary Search pattern.
We'll cover the following...
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 ...