Solución
solution.tsTypeScript
public class Solution {
public int countNegatives(int[] numbers) {
int acumulador = 0;
for(int num : numbers) {
if(num < 0) {
acumulador++;
}
}
return acumulador;
}
}0respuestas