LC: 360. Sort Transformed Array
https://leetcode.com/problems/sort-transformed-array/
Input: nums = [-4,-2,2,4], a = 1, b = 3, c = 5
Output: [3,9,15,33]Input: nums = [-4,-2,2,4], a = -1, b = 3, c = 5
Output: [-23,-5,1,7]
Last updated
https://leetcode.com/problems/sort-transformed-array/
Input: nums = [-4,-2,2,4], a = 1, b = 3, c = 5
Output: [3,9,15,33]Input: nums = [-4,-2,2,4], a = -1, b = 3, c = 5
Output: [-23,-5,1,7]
Last updated
class Solution {
public int[] sortTransformedArray(int[] nums, int a, int b, int c) {
}
}