Go Back

Integers Squaring

Mongo DB
Developer
Problem Description
Given a sorted list of integers, return the list with each integer squared. What if the original list is immutable? What if not? What to do if there are negative integers? For example, [-6, 1, 2, 3, 4] should return [1, 4, 9, 16, 36].
Hints

No hints available for this question.