Amazon Interview Question

Map an array of integers to another array of integers