Frage im Vorstellungsgespräch bei Google

Array to be doubled then shuffle. Reverse the functionality.