You are viewing a single comment's thread. Return to all comments →
public static String angryProfessor(int k, List<Integer> a) { int count = 0; for (int arvT : a) { if (arvT <= 0) count++; } return count < k ? "YES" : "NO"; }
Seems like cookies are disabled on this browser, please enable them to open this website
Angry Professor
You are viewing a single comment's thread. Return to all comments →