Example 1
filterGreaterThan()Input
nums = [29, 57, -4, -16, 38, 51, -27, 28, 21, -17, 25, -7, 27, 2, -19, -24, -17, 59, 49, 6, 34, 38, 47, 3, 12, -22, -29, 38, 30, 26, 37, 0, 10, 33, 12, 54, 44, -5, 49, -29], limit = 32Output
[57, 38, 51, 59, 49, 34, 38, 47, 38, 37, 33, 54, 44, 49]Why
`filterGreaterThan` returns `[57, 38, 51, 59, 49, 34, 38, 47, 38, 37, 33, 54, 44, 49]` for this input.