Given an array sorted in non-decreasing order (which may include negative numbers), return a new array of the squares of each number, also sorted in non-decreasing order.
Example 1
Explanation: Squaring removes sign information, so -4 (16) lands after 3 (9) even though -4 < 3.
Example 2
Explanation: All-negative input still produces an ascending list of squares, largest magnitude last.
Example 3
Explanation: All non-negative input squares in the same order it started in.
Code execution is coming soon.