The reversing is meant to be done in-place: reverses the order of the items in the array it is called on, and then returns that same array. So the original array is reversed, then the original array is returned. It is a difficult thing to describe, so I've had this problem a lot. I'll try to reword.
The reversing is meant to be done in-place:
reverses the order of the items in the array it is called on, and then returns that same array
. So the original array is reversed, then the original array is returned. It is a difficult thing to describe, so I've had this problem a lot. I'll try to reword.This comment is hidden because it contains spoiler information about the solution
You will have to return your solution for the function to work properly.
This comment is hidden because it contains spoiler information about the solution