main / higher-than
Write a function solve(limit, array) that will return the number of elements of the array that are larger than the limit.
Sorted array (public)
solve(5, [1,2,3,4,5,6,7,8,9]) = 4
Unsorted array (public)
solve(10, [1, 100, 10, 11, 110, -5, 47]) = 4
Big array ~100,000 elements (private)
solve(?) = ?
Verification time:
Code size: