Problem

Count elements > threshold.

Examples

  • countGreater([1, 5, 3], 2) -> 2
Compile and test (Ctrl+Enter)