Interview Guides
Given an array arr of integers, reverse the array in place without using built-in language functions such as reverse() or slicing. Return the reversed array after modifying it by swapping elements from both ends toward the center.
0 <= len(arr) <= 10^5-10^9 <= arr[i] <= 10^9