LeetCode
Squares of a Sorted Array
Click
here
for an explanation.