Problem

Count elements between lo and hi inclusive.

Examples

  • countInRange([1, 5, 9], 2, 8) -> 1
Compile and test (Ctrl+Enter)