Given a sorted array of integers (which may include negatives), return the squares of the numbers in sorted order. As a follow-up, find the k-th smallest squared value.
Unlock detailed company stats for this questionUpgrade
Community answers
No answers contributed by the community yet.
Related questions
Given an array of n integers and a number k, find the maximum number of elements whose sum is less than k, and return their sum.Each element of an array of non-negative integers may be lowered to any smaller non-negative value. What is the largest MEX the array can reach?Find the first or last occurrence of a given number in a sorted array.Related courses

Course

Course
Course
