Leetcode-905. Sort Array By Parity

—Easy https://leetcode.com/problems/sort-array-by-parity/ Code:   class Solution: def sortArrayByParity(self, A ): ans_ls_even = [] ans_ls_odd = [] for elt in A:
相關文章
相關標籤/搜索