You are viewing a single comment's thread. Return to all comments →
Here is my Python one-liner
def angryProfessor(k, a): return 'YES' if len([i for i in a if i <= 0]) < k else '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 →
Here is my Python one-liner