You are viewing a single comment's thread. Return to all comments →
problem has changed, but with javascript you can still do:
return a.filter(x=>x<=0).length < k ? "YES" : "NO";
Angry Professor
You are viewing a single comment's thread. Return to all comments →
problem has changed, but with javascript you can still do: