LeetCode 2798 Number of Employees Who Met the Target

🚀 Day 89 — LeetCode Practice 🚀 Today’s focus was on array traversal and conditional counting. ✅ Problem solved today: 🔹 LeetCode — 2798. Number of Employees Who Met the Target 💡 Key learnings from today: • Practiced iterating through arrays using loops • Strengthened understanding of conditional statements (if) • Learned how to count values that satisfy a given condition • Improved problem-solving with a simple and efficient approach • Reinforced basics of time complexity — O(n) 🧠 Approach used: Loop through the hours array, check if each employee’s hours are greater than or equal to the target, and increment the count. Small problem — but solid practice on fundamentals that matter in coding interviews. #Day89 #LeetCode #Java #DSA #CodingJourney #ProblemSolving #Programming #LearningEveryday #ConsistencyWins

  • text

To view or add a comment, sign in

Explore content categories