• + 0 comments

    c# Solution:

    public static string angryProfessor(int k, List<int> a)
    {
        return a.Count(x=> x <= 0) < k ? "YES" : "NO";
    }