Skip to content

Commit

Permalink
Time: 0 ms (100%), Space: 42.4 MB (84.08%) - LeetHub
Browse files Browse the repository at this point in the history
  • Loading branch information
FractalCodeRicardo committed Nov 20, 2024
1 parent ca1f98f commit 68b94ef
Showing 1 changed file with 13 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
public class Solution {
public int NumberOfEmployeesWhoMetTarget(int[] hours, int target) {
var c = 0;

foreach(var h in hours) {
if (h >= target) {
c++;
}
}

return c;
}
}

0 comments on commit 68b94ef

Please sign in to comment.