HTMLify

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

Comments