Meta Interview Question

Generate square of array elements