LeetCode Solutions/Algorithm I/Day 2 Two Pointers/Squares of a Sorted Array.java
<filename>LeetCode Solutions/Algorithm I/Day 2 Two Pointers/Squares of a Sorted Array.javaclass Solution {
    public int[] sortedSquares(int[] nums) {
        for(int number=0; number<nums.length; number++){
            nums[number] = nums[number] * nums[number];
        }
        Arrays.sort(nums);
        return nums;
    }
}