22. Row with minimum number of 1's
Last updated
Was this helpful?
Last updated
Was this helpful?
The problem can be found at the following link:
To find the row with the minimum number of 1's, I traverse through each row, calculating the sum of each row. If the sum of the current row is less than the sum of the previous minimum row, update the minimum row index.
Time Complexity : O(n * m)
Auxiliary Space Complexity : O(1)
For discussions, questions, or doubts related to this solution, please visit our . We welcome your input and aim to foster a collaborative learning environment.
If you find this solution helpful, consider supporting us by giving a ⭐ star
to the repository.