public class CountNegativesInMatrix extends java.lang.Object implements NegativeCounter
Constructor and Description |
---|
CountNegativesInMatrix() |
Modifier and Type | Method and Description |
---|---|
int |
countNegatives(int[][] nums) |
public int countNegatives(int[][] nums)
countNegatives
in interface NegativeCounter