Given an integer array of even length arr, return true if it is possible to reorder arr such that arr[2 * i + 1] = 2 * arr[2 * i] for every 0 <= i < len(arr) / 2, or false otherwise.
In other words, you need to check if the array can be rearranged into pairs where one element is exactly double the other.
2 <= arr.length <= 3 * 10^4arr.length is even-10^5 <= arr[i] <= 10^5arr = [3,1,3,6]falsearr = [2,1,2,6]falsearr = [4,-2,2,-4]true