Frage im Vorstellungsgespräch bei Publicis Sapient

Given an array, duplicate all the even numbers and return the modified array.