Time: 1 ms (35.22%), Space: 12.5 MB (53.48%) - LeetHub

This commit is contained in:
Deven
2025-09-09 15:10:38 -04:00
parent 347cb6205b
commit b326123395
@@ -0,0 +1,13 @@
class Solution(object):
def minOperations(self, nums, k):
"""
:type nums: List[int]
:type k: int
:rtype: int
"""
count = 0
for n in nums:
if n < k:
count += 1
return count