Frage im Vorstellungsgespräch bei Genesys

Write a map function, given an array and a function as parameters.

Antwort im Vorstellungsgespräch

Anonym

21. Feb. 2020

Applied the function to each element of the array, in place. Was suggested to create a return a copy instead and I did that. Honestly should've done that initially.