HTMLify

LeetCode - Squares of a Sorted Array - Python
Views: 88 | Author: abh
class Solution:
    def sortedSquares(self, nums: List[int]) -> List[int]:
        return list(sorted(map(lambda a:a*a, nums)))

Comments