Create a function that returns the square of each number in an array.
EasyProblem Statement
Create a function that returns the square of each number in an array.
Sample Input
[1, 2, 3, 4, 5]
Sample Output
[ 1, 4, 9, 16, 25 ]
Limits
Time: 2s · Memory: 256 MB