You are viewing a single comment's thread. Return to all comments →
return a.stream() .filter(t -> t <= 0) .count() >= k ? "NO" : "YES";
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 →
return a.stream() .filter(t -> t <= 0) .count() >= k ? "NO" : "YES";