← Adobe questions
CodingReported in a candidate post, Jul 2025

Sort an array after squaring its elements

Filed under Adobe

Given an integer array sorted in non-decreasing order, return an array of the squares of each number, also sorted in non-decreasing order. Assumption: the input is sorted; otherwise squaring and…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Adobe questions

Collected from public candidate posts and coding forums. Updated Nov 2026.