Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
isaiahliu committed Jan 14, 2025
1 parent 35e2f49 commit 089f9bc
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/main/kotlin/p30xx/Problem3065.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
package p30xx

import util.expect

fun main() {
class Solution {
fun minOperations(nums: IntArray, k: Int): Int {
return nums.count { it < k }
}
}

expect {
Solution().minOperations(
intArrayOf(1), 1
)
}
}

0 comments on commit 089f9bc

Please sign in to comment.