Practice · 3 of 5
Threshold counter
CHALLENGE
Difficulty: beginner+25 XP
Implement int countAbove(int[] arr, int threshold): how many elements are strictly greater than threshold.
Press Submit to check your solution.
Back to lesson: Practice: Array reps