Leetcode-977. Squares of a Sorted Array

—Easy https://leetcode.com/problems/squares-of-a-sorted-array/ Code:   class Solution: def sortedSquares(self, A) : ans_list = [] for elt in A: ans_list.append(elt*elt)
相關文章
相關標籤/搜索