# @brief:  leetcode-977-有序数组的平方
# @envir:  python 2.7
# @date:   2019/5/6
# @author: luhao

class Solution(object):
    def sortedSquares(self, A):
        """
        :type A: List[int]
        :rtype: List[int]
        """
        return sorted( [i*i for i in A] )

0f3b88b4f4b0b0cca73feb9e1587a71c0b099f4a
<mask token>

class Solution(object):
    <mask token>

class Solution(object):

    def sortedSquares(self, A):
        """
        :type A: List[int]
        :rtype: List[int]
        """
        return sorted([(i * i) for i in A])

# @brief:  leetcode-977-有序数组的平方
# @envir:  python 2.7
# @date:   2019/5/6
# @author: luhao

class Solution(object):
    def sortedSquares(self, A):
        """
        :type A: List[int]
        :rtype: List[int]
        """
        return sorted( [i*i for i in A] )
