Given an integer array nums of length n, return an array ans of length nums in reverse order to the end of nums.
Constraints:
nums.length
nums[i]
Given an integer array nums of length n, return an array ans of length nums in reverse order to the end of nums.
Constraints:
nums.length
nums[i]