2798. 满足目标工作时长的员工数目
满足目标工作时长的员工数目
- 难度:
easy
- 原始链接: https://leetcode.cn/problems/number-of-employees-who-met-the-target
- 标签:
一次遍历
解法一: 一次遍历
1 | func numberOfEmployeesWhoMetTarget(hours []int, target int) int { |
1 | class Solution { |
easy
一次遍历
1 | func numberOfEmployeesWhoMetTarget(hours []int, target int) int { |
1 | class Solution { |