2798. Number of Employees Who Met the Target
There are
nemployees in a company, numbered from0ton - 1. Each employeeihas worked forhours[i]hours in the company.The company requires each employee to work for at least
targethours.You are given a 0-indexed array of non-negative integers
hoursof lengthnand a non-negative integertarget.Return the integer denoting the number of employees who worked at least
targethours.
1 | class Solution { |