2019年3月7日 595. Big Countries 977. Squares of a Sorted Array

没错,我就是弱题收割机。

select name, population, area from World where area > 3000000 or population > 25000000;


class Solution(object):
    def sortedSquares(self, A):
        """
        :type A: List[int]
        :rtype: List[int]
        """
        for i in xrange(len(A)):
            A[i] = A[i] * A[i]
        
        A.sort()
        return A
原文地址:https://www.cnblogs.com/seenthewind/p/10487637.html