标签:内存 ima span elf return pre code color lis
class Solution(object): def flipAndInvertImage(self, A): """ :type A: List[List[int]] :rtype: List[List[int]] """ for i in range(len(A)): A[i]=A[i][::-1] for j in range(len(A[i])): A[i][j]=1-A[i][j] return A
标签:内存 ima span elf return pre code color lis
原文地址:https://www.cnblogs.com/taoyuxin/p/11761453.html