Reverse

Given a [!scala]List[Int][/!][!java|python]recursive list[/!], return a new list with all elements in reverse order.

This function is very important and you should not pass that challenge. Your solution should be linear in time, with the help of helper functions.

You need an helper function in which the result is accumulated (built) at each step.