an integer array original transformed double array change append twice value element original randomly shuffle result arrayGiven array change return original change double array if change double array return array the element original return order Example 1input change 134268output 134explanation one possible original array 134 Twice value 1 1 2 2 Twice value 3 3 2 6 Twice value 4 4 2 8other original array 431 314example 2input change 6301output Explanation change double arrayExample 3input change 1Output Explanation change double array Constraints1 changedlength 1050 changedi 105