Return sorted squares of a sorted array | Uber Interview Question