2023-08-01 17:52:16 +0300 MSK
Number of Employees Who Met the Target
Links
Code
class Solution:
def numberOfEmployeesWhoMetTarget(self, hours: List[int], target: int) -> int:
count = 0
for hour in hours:
if hour < target:
continue
count += 1
return count