Example 1
filterGreaterThan()Input
nums = [47, 26, 35, 48, -26, 53, 21, 2, -23, -19, -16, -26, -9, 25, 57, 41, 47, -18, -19, 6, -20, -23, 4, 34, 14, -14, -18, 59, -21, -16, 13, 54, 49, 22, 26, 45, 32, 31, 6, 39, 48, -15, 2], limit = 40Output
[47, 48, 53, 57, 41, 47, 59, 54, 49, 45, 48]Why
`filterGreaterThan` returns `[47, 48, 53, 57, 41, 47, 59, 54, 49, 45, 48]` for this input.