<filename>SORTING/Easy/Squares of a Sorted Array/Code.py
# PROBLEM LINK:- https://leetcode.com/problems/squares-of-a-sorted-array/

class Solution:
    def sortedSquares(self, v):
        n = len(v)
        for i in range(0,n):
            v[i] *= v[i]
        v.sort()
        return v

<filename>SORTING/Easy/Squares of a Sorted Array/Code.py
# PROBLEM LINK:- https://leetcode.com/problems/squares-of-a-sorted-array/

class Solution:
    def sortedSquares(self, v):
        n = len(v)
        for i in range(0,n):
            v[i] *= v[i]
        v.sort()
        return v

# PROBLEM LINK:- https://leetcode.com/problems/squares-of-a-sorted-array/