Apple interview question

Given a sorted array, return the sorted array of their squares. Copy a graph.

Interview Answers

Anonymous

Apr 17, 2020

What you mean with. copy a graph?

1

Anonymous

May 1, 2020

Be careful of negative numbers in the original array and of overflow

1