Given an array of both positive and negative integers ‘$a[]’. The challenge is to sort the square of the numbers of the array. Examples: Input…
Given an array of both positive and negative integers ‘$a[]’. The challenge is to sort the square of the numbers of the array. Examples: Input…