• + 0 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'