Example 1
filterGreaterThan()Input
nums = [-27, 32, 22, 31, 55, 9, 7, 26, -6, 0, -15, 25, -16, 51, -12, 29, -8, 13, -15, -24, 4, -7, 59, -9, -27, 31, -21, 16, 51, 16, -14, -10, 14, 33, 40, 57, 41, 53, 5, 6, 3, 19, 41, -15], limit = 10Output
[32, 22, 31, 55, 26, 25, 51, 29, 13, 59, 31, 16, 51, 16, 14, 33, 40, 57, 41, 53, 19, 41]Why
`filterGreaterThan` returns `[32, 22, 31, 55, 26, 25, 51, 29, 13, 59, 31, 16, 51, 16, 14, 33, 40, 57, 41, 53, 19, 41]` for this input.