Skip to content

Latest commit

 

History

History
5 lines (3 loc) · 189 Bytes

README.md

File metadata and controls

5 lines (3 loc) · 189 Bytes

This problem was asked by Google.

Given a sorted list of integers, square the elements and give the output in sorted order.

For example, given [-9, -2, 0, 2, 3], return [0, 4, 4, 9, 81].