Implement solve(start, end, step) that generates an array of numbers fromstart (inclusive) up to end (exclusive) with the given step.
Examples
solve(0, 5, 1) → [0,1,2,3,4]solve(0, 10, 2) → [0,2,4,6,8]solve(5, 0, -1) → [5,4,3,2,1]Constraints
step !== 0Sample tests