ProblemsLocal fallback
Daily Challenge / 2026-11-23

7. Count Strictly Greater

Easy
ArrayCounting

Given an integer array `nums` and an integer `threshold`, return the **count** of elements that are strictly greater than `threshold`.

Examples

Example 1

Input: nums = [2,7,4,9], threshold = 4
Output: 2