Two Pointers

Sorted Squares

Given a sorted array, return a sorted array of each element squared.

1 / 7

-2
-1
0
2
3