Problem 1337 · Easy

The K Weakest Rows in a Matrix

Return the k weakest matrix rows, resolving equal strength by row index.

Open the interactive visualisation