You are viewing a single comment's thread. Return to all comments →
javascript one-liner
console.log(a.filter(x=>x<=0).length < 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 →
javascript one-liner